mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Fix pytest discovery from sdist installation in travis
This commit is contained in:
parent
4a1a2bce68
commit
75529a9f3b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user