diff --git a/.travis.yml b/.travis.yml index e89dd19e4..c258ce733 100644 --- a/.travis.yml +++ b/.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"