2015-01-02 14:58:31 +00:00
|
|
|
language: python
|
2016-10-13 18:54:46 +00:00
|
|
|
sudo: false
|
2019-02-24 11:07:33 +00:00
|
|
|
cache: pip
|
2016-09-23 12:17:46 +00:00
|
|
|
dist: trusty
|
2015-12-13 18:54:16 +00:00
|
|
|
group: edge
|
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-01-05 17:00:10 +00:00
|
|
|
os:
|
|
|
|
- linux
|
2016-10-13 10:23:45 +00:00
|
|
|
env:
|
2018-06-10 22:38:04 +00:00
|
|
|
- VIA=compile
|
2017-11-20 10:35:28 +00:00
|
|
|
- VIA=flake8
|
2015-01-02 14:58:31 +00:00
|
|
|
install:
|
2016-10-13 11:09:30 +00:00
|
|
|
- "./travis.sh"
|
2017-11-20 10:35:28 +00:00
|
|
|
- pip install flake8
|
2015-12-18 16:47:06 +00:00
|
|
|
script:
|
2018-05-15 20:17:29 +00:00
|
|
|
- "cat /proc/cpuinfo | grep flags | head -n 1"
|
2017-04-07 15:06:18 +00:00
|
|
|
- "pip install pytest pytest-timeout"
|
2017-03-30 10:21:13 +00:00
|
|
|
- if [[ "${VIA}" == "compile" ]]; then python -m pytest --tb=native spacy; fi
|
2018-06-10 22:38:04 +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
|
2017-03-30 10:21:13 +00:00
|
|
|
- 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
|
2019-02-24 11:07:33 +00:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- spacy.io
|
2016-10-15 23:51:24 +00:00
|
|
|
notifications:
|
|
|
|
slack:
|
|
|
|
secure: F8GvqnweSdzImuLL64TpfG0i5rYl89liyr9tmFVsHl4c0DNiDuGhZivUz0M1broS8svE3OPOllLfQbACG/4KxD890qfF9MoHzvRDlp7U+RtwMV/YAkYn8MGWjPIbRbX0HpGdY7O2Rc9Qy4Kk0T8ZgiqXYIqAz2Eva9/9BlSmsJQ=
|
|
|
|
email: false
|