spaCy/.travis.yml

31 lines
832 B
YAML
Raw Normal View History

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