mirror of https://github.com/explosion/spaCy.git
32 lines
864 B
YAML
32 lines
864 B
YAML
language: python
|
|
|
|
sudo: false
|
|
dist: trusty
|
|
group: edge
|
|
|
|
python:
|
|
- "2.7"
|
|
- "3.5"
|
|
|
|
os:
|
|
- linux
|
|
|
|
env:
|
|
- VIA=compile LC_ALL=en_US.ascii
|
|
- VIA=compile
|
|
- VIA=sdist
|
|
|
|
install:
|
|
- "./travis.sh"
|
|
|
|
script:
|
|
- "pip install pytest"
|
|
- if [[ "${VIA}" == "compile" ]]; then SPACY_DATA=models/en 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
|
|
|
|
notifications:
|
|
slack:
|
|
secure: F8GvqnweSdzImuLL64TpfG0i5rYl89liyr9tmFVsHl4c0DNiDuGhZivUz0M1broS8svE3OPOllLfQbACG/4KxD890qfF9MoHzvRDlp7U+RtwMV/YAkYn8MGWjPIbRbX0HpGdY7O2Rc9Qy4Kk0T8ZgiqXYIqAz2Eva9/9BlSmsJQ=
|
|
email: false
|