From 6bd0a0df9a0d517cc9d7df20385ec8c0bc09048c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 4 Sep 2017 19:49:35 +0200 Subject: [PATCH] Update travis --- .travis.yml | 4 ++-- travis.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 95685da29..f302d0f1b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ os: env: - VIA=compile LC_ALL=en_US.ascii - VIA=compile - - VIA=pypi + - VIA=pypi_nightly install: - "./travis.sh" @@ -22,7 +22,7 @@ install: script: - "pip install pytest pytest-timeout" - if [[ "${VIA}" == "compile" ]]; then python -m pytest --tb=native spacy; fi - - if [[ "${VIA}" == "pypi" ]]; then python -m pytest --tb=native --models --en `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi + - if [[ "${VIA}" == "pypi_nightly" ]]; then python -m pytest --tb=native --models --en `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi - if [[ "${VIA}" == "sdist" ]]; then python -m pytest --tb=native `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi notifications: diff --git a/travis.sh b/travis.sh index 4ed998ec0..4b7d8017c 100755 --- a/travis.sh +++ b/travis.sh @@ -2,7 +2,7 @@ if [ "${VIA}" == "pypi" ]; then rm -rf * - pip install spacy + pip install spacy-nightly python -m spacy download en fi