mirror of https://github.com/explosion/spaCy.git
Fix pytest discovery from sdist installation in travis
This commit is contained in:
parent
4a1a2bce68
commit
75529a9f3b
|
@ -22,5 +22,5 @@ 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 --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 --pyargs spacy; 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