diff --git a/.travis.yml b/.travis.yml index 526231d46..18bd1a842 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,5 +22,5 @@ install: script: - "pip install pytest" - if [[ "${VIA}" == "compile" ]]; then SPACY_DATA=models/en python -m pytest spacy; fi - - if [[ "${VIA}" == "pip" ]]; then python -m pytest --pyargs spacy; fi - - if [[ "${VIA}" == "sdist" ]]; then python -m pytest --pyargs spacy; fi + - if [[ "${VIA}" == "pypi" ]]; then python -m pytest `python -c "import pathlib; import spacy; print(pathlib.Path(spacy.__file__).parent.resolve())"`; fi + - if [[ "${VIA}" == "sdist" ]]; then python -m pytest `python -c "import pathlib; import spacy; print(pathlib.Path(spacy.__file__).parent.resolve())"`; fi