spaCy/.travis.yml

35 lines
1.1 KiB
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"
2017-11-08 10:09:06 +00:00
- "3.5"
2017-03-16 18:40:59 +00:00
- "3.6"
2015-12-13 18:34:51 +00:00
os:
- linux
2016-10-13 10:23:45 +00:00
env:
- VIA=compile LC_ALL=en_US.ascii
- VIA=flake8
2017-09-04 18:05:37 +00:00
#- VIA=pypi_nightly
2015-01-02 14:58:31 +00:00
install:
2016-10-13 11:09:30 +00:00
- "./travis.sh"
- pip install flake8
2015-12-15 09:50:10 +00:00
2015-12-18 16:47:06 +00:00
script:
2017-04-07 15:06:18 +00:00
- "pip install pytest pytest-timeout"
- if [[ "${VIA}" == "compile" ]]; then python -m pytest --tb=native spacy; fi
2017-11-20 13:00:45 +00:00
- if [[ "${VIA}" == "flake8" ]]; then flake8 . --count --exclude=spacy/compat.py,spacy/lang --select=E901,E999,F821,F822,F823 --show-source --statistics; fi
2017-09-04 17:49:35 +00:00
- if [[ "${VIA}" == "pypi_nightly" ]]; then python -m pytest --tb=native --models --en `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi
- if [[ "${VIA}" == "sdist" ]]; then python -m pytest --tb=native `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi
2016-10-15 23:51:24 +00:00
notifications:
slack:
secure: F8GvqnweSdzImuLL64TpfG0i5rYl89liyr9tmFVsHl4c0DNiDuGhZivUz0M1broS8svE3OPOllLfQbACG/4KxD890qfF9MoHzvRDlp7U+RtwMV/YAkYn8MGWjPIbRbX0HpGdY7O2Rc9Qy4Kk0T8ZgiqXYIqAz2Eva9/9BlSmsJQ=
email: false