mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Doing this with 3.5 only, because the PEP 484 annotation examples in docs won't compile with old Python versions, causing failures.
36 lines
677 B
YAML
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
|