Files
sphinx/.travis.yml
Ville Skyttä 77f9bbd9cc Travis: Run style-check with Python 3.5
Doing this with 3.5 only, because the PEP 484 annotation examples in
docs won't compile with old Python versions, causing failures.
2016-07-07 16:29:14 +03:00

36 lines
677 B
YAML

language: python
sudo: false
cache:
directories:
- $HOME/.cache/pip
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev"
- "pypy"
env:
global:
- TEST=-v
matrix:
- DOCUTILS=0.11
- DOCUTILS=0.12
addons:
apt:
packages:
- graphviz
- texlive-latex-recommended
- texlive-latex-extra
- texlive-fonts-recommended
- texlive-fonts-extra
install:
- pip install -U pip
- pip install docutils==$DOCUTILS
- pip install -r test-reqs.txt
before_script: flake8
script:
- if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then make style-check test-async; fi
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then make test; fi