Use py.test instead of pytest in travis tests.

This commit is contained in:
Matthew Honnibal 2017-03-16 13:24:27 -05:00
parent 8843b84bd1
commit e4c88e0767
1 changed files with 3 additions and 3 deletions

View File

@ -22,9 +22,9 @@ install:
script:
- "pip install pytest"
- if [[ "${VIA}" == "compile" ]]; then python -m pytest spacy; 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
- if [[ "${VIA}" == "compile" ]]; then python -m py.test spacy; fi
- if [[ "${VIA}" == "pypi" ]]; then python -m py.test `python -c "import os.path; import spacy; print(os.path.abspath(ospath.dirname(spacy.__file__)))"`; fi
- if [[ "${VIA}" == "sdist" ]]; then python -m py.test `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi
notifications:
slack: