2012-11-03 10:50:50 +01:00
|
|
|
language: python
|
2015-02-08 09:58:27 +01:00
|
|
|
sudo: false
|
2016-02-13 10:10:14 -05:00
|
|
|
cache:
|
|
|
|
|
directories:
|
|
|
|
|
- $HOME/.cache/pip
|
2012-11-03 10:50:50 +01:00
|
|
|
python:
|
|
|
|
|
- "2.7"
|
2015-01-01 13:31:02 +01:00
|
|
|
- "3.4"
|
2015-11-10 03:40:48 +01:00
|
|
|
- "3.5"
|
2016-12-24 13:05:35 +09:00
|
|
|
- "3.6"
|
2016-09-15 23:00:15 +09:00
|
|
|
- "nightly"
|
2015-01-01 13:31:02 +01:00
|
|
|
- "pypy"
|
|
|
|
|
env:
|
2016-04-18 16:44:35 +09:00
|
|
|
global:
|
2016-07-14 21:10:32 +09:00
|
|
|
- TEST='-v --with-timer --timer-top-n 25'
|
2016-09-15 23:00:15 +09:00
|
|
|
- PYTHONFAULTHANDLER=x
|
2016-12-04 17:52:45 +09:00
|
|
|
- PYTHONWARNINGS=all
|
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-06-11 15:06:07 +09:00
|
|
|
addons:
|
|
|
|
|
apt:
|
|
|
|
|
packages:
|
|
|
|
|
- graphviz
|
2016-06-11 15:16:13 +09:00
|
|
|
- texlive-latex-recommended
|
|
|
|
|
- texlive-latex-extra
|
|
|
|
|
- texlive-fonts-recommended
|
|
|
|
|
- texlive-fonts-extra
|
2016-10-10 23:59:08 +09:00
|
|
|
- texlive-xetex
|
2016-10-19 21:28:02 +09:00
|
|
|
- lmodern
|
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
|
2016-07-26 14:00:38 +09:00
|
|
|
before_script:
|
2016-07-26 14:11:05 +09:00
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION != '2.6' ]]; then flake8; fi
|
2015-11-10 04:09:05 +01:00
|
|
|
script:
|
2016-12-24 13:05:35 +09:00
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then make style-check test-async; fi
|
|
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION != '3.6' ]]; then make test; fi
|