Update travis.yml

This commit is contained in:
Matthew Honnibal 2016-10-13 14:34:48 +02:00
parent 839f551ae3
commit 2ed12c0804
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,8 @@ install:
- "./travis.sh" - "./travis.sh"
script: script:
- echo $VIA
- echo $TRAVIS_PULL_REQUEST
- "pip install pytest" - "pip install pytest"
- if [[ "${VIA}" == "compile" ]]; then SPACY_DATA=models/en python -m pytest spacy; fi - if [[ "${VIA}" == "compile" ]]; then SPACY_DATA=models/en python -m pytest spacy; fi
- if [[ "${TRAVIS_PULL_REQUEST}" == "false" && "${VIA}" == "pip" ]]; then python -m pytest spacy; fi - if [[ "${TRAVIS_PULL_REQUEST}" == "false" && "${VIA}" == "pip" ]]; then python -m pytest spacy; fi