mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
Update .travis.yml
This commit is contained in:
parent
c00dd43fe0
commit
62a6adf33a
15
.travis.yml
15
.travis.yml
|
@ -11,28 +11,19 @@ python:
|
|||
os:
|
||||
- linux
|
||||
|
||||
env:
|
||||
- PIP_DATE=2015-10-01 MODE=pip
|
||||
- PIP_DATE=2015-10-01 MODE=setup-install
|
||||
- PIP_DATE=2015-10-01 MODE=setup-develop
|
||||
|
||||
install:
|
||||
- "pip install --upgrade setuptools"
|
||||
- "pip install cython fabric fabtools"
|
||||
- "pip install -r requirements.txt"
|
||||
- "python setup.py build_ext --inplace"
|
||||
- "pip install -e ."
|
||||
- "mkdir -p corpora/en"
|
||||
- "cd corpora/en"
|
||||
- "wget --no-check-certificate http://wordnetcode.princeton.edu/3.0/WordNet-3.0.tar.gz"
|
||||
- "tar -xzf WordNet-3.0.tar.gz"
|
||||
- "mv WordNet-3.0 wordnet"
|
||||
- "cd ../../"
|
||||
- "export PYTHONPATH=`pwd`"
|
||||
- "python bin/init_model.py en lang_data/ corpora/ data"
|
||||
- "cp package.json data"
|
||||
- "sputnik build data en_default.sputnik"
|
||||
- "sputnik --name spacy install en_default.sputnik"
|
||||
|
||||
script:
|
||||
- python build.py $MODE;
|
||||
- python build.py test
|
||||
- "pip install pytest"
|
||||
- "python -m pytest spacy"
|
||||
|
|
Loading…
Reference in New Issue
Block a user