From 49cf28e4c6a7dcef9384850ef447b83c32c5d549 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 16 Feb 2017 23:04:41 +0100 Subject: [PATCH] Fix Travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4bcc4a542..88135ba81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,8 +22,8 @@ install: script: - "pip install pytest" - if [[ "${VIA}" == "compile" ]]; then python -m pytest 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 + - if [[ "${VIA}" == "pypi" ]]; then python -m pytest `python -c "import os.path; import spacy; print(os.path.abspath(ospath.dirname(spacy.__file__)))"`; fi + - if [[ "${VIA}" == "sdist" ]]; then python -m pytest `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi notifications: slack: