Work on travis script

This commit is contained in:
Matthew Honnibal 2016-10-13 14:32:02 +02:00
parent 2f998f8ed0
commit 839f551ae3
2 changed files with 2 additions and 2 deletions

View File

@ -21,4 +21,4 @@ install:
script: script:
- "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 [[ "${VIA}" == "pip" ]]; then python -m pytest spacy; fi - if [[ "${TRAVIS_PULL_REQUEST}" == "false" && "${VIA}" == "pip" ]]; then python -m pytest spacy; fi

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
if [ "${TRAVIS_PULL_REQUEST}" = "false" && "${VIA}" == "pypi"]; then if [ "${TRAVIS_PULL_REQUEST}" == "false" && "${VIA}" == "pypi"]; then
rm -rf * rm -rf *
pip install spacy pip install spacy
fi fi