Update .travis.yml

This commit is contained in:
Henning Peters 2016-02-09 19:29:23 +01:00
parent c00dd43fe0
commit 62a6adf33a

View File

@ -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"