2015-01-02 17:58:31 +03:00
|
|
|
language: python
|
2015-01-05 20:00:10 +03:00
|
|
|
|
2018-05-15 19:00:24 +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"
|
2017-11-08 13:09:06 +03:00
|
|
|
- "3.5"
|
2017-03-16 21:40:59 +03:00
|
|
|
- "3.6"
|
2015-12-13 21:34:51 +03:00
|
|
|
|
2015-01-05 20:00:10 +03:00
|
|
|
os:
|
|
|
|
- linux
|
2016-10-13 13:23:45 +03:00
|
|
|
|
|
|
|
env:
|
2017-12-06 03:50:03 +03:00
|
|
|
- VIA=compile
|
2017-11-20 13:35:28 +03:00
|
|
|
- VIA=flake8
|
2017-09-04 21:05:37 +03:00
|
|
|
#- VIA=pypi_nightly
|
2015-01-05 20:00:10 +03:00
|
|
|
|
2015-01-02 17:58:31 +03:00
|
|
|
install:
|
2016-10-13 14:09:30 +03:00
|
|
|
- "./travis.sh"
|
2017-11-20 13:35:28 +03:00
|
|
|
- pip install flake8
|
2015-12-15 12:50:10 +03:00
|
|
|
|
2015-12-18 19:47:06 +03:00
|
|
|
script:
|
2018-05-10 18:10:44 +03:00
|
|
|
- "cat /proc/cpuinfo | grep flags | head -n 1"
|
2017-04-07 18:06:18 +03:00
|
|
|
- "pip install pytest pytest-timeout"
|
2017-03-30 13:21:13 +03:00
|
|
|
- if [[ "${VIA}" == "compile" ]]; then python -m pytest --tb=native spacy; fi
|
2017-11-20 16:00:45 +03: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 20:49:35 +03: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 13:21:13 +03: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
|
2016-10-16 02:51:24 +03:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
slack:
|
|
|
|
secure: F8GvqnweSdzImuLL64TpfG0i5rYl89liyr9tmFVsHl4c0DNiDuGhZivUz0M1broS8svE3OPOllLfQbACG/4KxD890qfF9MoHzvRDlp7U+RtwMV/YAkYn8MGWjPIbRbX0HpGdY7O2Rc9Qy4Kk0T8ZgiqXYIqAz2Eva9/9BlSmsJQ=
|
|
|
|
email: false
|