From 62a6adf33ac28b253dfd7d90f47995d85c1658fa Mon Sep 17 00:00:00 2001 From: Henning Peters Date: Tue, 9 Feb 2016 19:29:23 +0100 Subject: [PATCH] Update .travis.yml --- .travis.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) 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"