2012-11-03 10:50:50 +01:00
|
|
|
language: python
|
2015-02-08 09:58:27 +01:00
|
|
|
sudo: false
|
2017-02-02 01:42:08 +09:00
|
|
|
dist: trusty
|
2016-02-13 10:10:14 -05:00
|
|
|
cache:
|
|
|
|
|
directories:
|
|
|
|
|
- $HOME/.cache/pip
|
2012-11-03 10:50:50 +01:00
|
|
|
python:
|
2017-02-13 21:35:01 +09:00
|
|
|
- "pypy-5.4.1"
|
2016-12-24 13:05:35 +09:00
|
|
|
- "3.6"
|
2017-02-21 11:19:05 +09:00
|
|
|
- "3.5"
|
|
|
|
|
- "3.4"
|
|
|
|
|
- "2.7"
|
2016-09-15 23:00:15 +09:00
|
|
|
- "nightly"
|
2015-01-01 13:31:02 +01:00
|
|
|
env:
|
2016-04-18 16:44:35 +09:00
|
|
|
global:
|
2017-01-03 22:24:00 +09:00
|
|
|
- TEST='-v --durations 25'
|
2016-09-15 23:00:15 +09:00
|
|
|
- PYTHONFAULTHANDLER=x
|
2016-12-04 17:52:45 +09:00
|
|
|
- PYTHONWARNINGS=all
|
2017-05-11 16:28:25 +09:00
|
|
|
- SKIP_LATEX_BUILD=1
|
2016-04-18 16:44:35 +09:00
|
|
|
matrix:
|
|
|
|
|
- DOCUTILS=0.12
|
2016-12-10 20:29:34 +09:00
|
|
|
- DOCUTILS=0.13.1
|
2016-12-24 13:06:45 +09:00
|
|
|
matrix:
|
|
|
|
|
exclude:
|
|
|
|
|
- python: "3.4"
|
|
|
|
|
env: DOCUTILS=0.12
|
|
|
|
|
- python: "3.5"
|
|
|
|
|
env: DOCUTILS=0.12
|
2017-03-01 00:26:49 +09:00
|
|
|
- python: "3.6"
|
|
|
|
|
env: DOCUTILS=0.12
|
2016-12-24 13:06:45 +09:00
|
|
|
- python: nightly
|
|
|
|
|
env: DOCUTILS=0.12
|
2017-02-13 21:35:01 +09:00
|
|
|
- python: "pypy-5.4.1"
|
2016-12-24 13:06:45 +09:00
|
|
|
env: DOCUTILS=0.12
|
2016-06-11 15:06:07 +09:00
|
|
|
addons:
|
|
|
|
|
apt:
|
|
|
|
|
packages:
|
2017-05-11 16:28:25 +09:00
|
|
|
- graphviz
|
|
|
|
|
- imagemagick
|
2012-11-03 10:50:50 +01:00
|
|
|
install:
|
2016-07-15 11:08:41 +09:00
|
|
|
- pip install -U pip setuptools
|
2015-01-01 13:31:02 +01:00
|
|
|
- pip install docutils==$DOCUTILS
|
|
|
|
|
- pip install -r test-reqs.txt
|
2017-03-03 12:19:09 +09:00
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then python3.6 -m pip install mypy typed-ast; fi
|
2015-11-10 04:09:05 +01:00
|
|
|
script:
|
2016-12-24 17:31:58 +09:00
|
|
|
- flake8
|
2017-02-21 01:19:05 +09:00
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then make style-check type-check test-async; fi
|
2017-05-11 16:28:25 +09:00
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION != '3.6' ]]; then make test; fi
|