spaCy/.travis.yml

31 lines
832 B
YAML
Raw Normal View History

2015-01-02 14:58:31 +00:00
language: python
2016-10-13 18:54:46 +00:00
sudo: false
2016-09-23 12:17:46 +00:00
dist: trusty
2015-12-13 18:54:16 +00:00
group: edge
2015-12-13 18:46:19 +00:00
2015-12-13 18:34:51 +00:00
python:
- "2.7"
2016-09-30 18:31:22 +00:00
- "3.5"
2015-12-13 18:34:51 +00:00
os:
- linux
2016-10-13 10:23:45 +00:00
env:
- VIA="compile"
2016-10-14 23:10:33 +00:00
- VIA="sdist"
2015-01-02 14:58:31 +00:00
install:
2016-10-13 11:09:30 +00:00
- "./travis.sh"
2015-12-15 09:50:10 +00:00
2015-12-18 16:47:06 +00:00
script:
2016-02-09 18:29:23 +00:00
- "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
2016-10-15 23:51:24 +00:00
notifications:
slack:
secure: F8GvqnweSdzImuLL64TpfG0i5rYl89liyr9tmFVsHl4c0DNiDuGhZivUz0M1broS8svE3OPOllLfQbACG/4KxD890qfF9MoHzvRDlp7U+RtwMV/YAkYn8MGWjPIbRbX0HpGdY7O2Rc9Qy4Kk0T8ZgiqXYIqAz2Eva9/9BlSmsJQ=
email: false