Files
sphinx/.travis.yml

49 lines
1.0 KiB
YAML
Raw Normal View History

2012-11-03 10:50:50 +01:00
language: python
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:
- "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"
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
- 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
- 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
- python: "3.6"
env: DOCUTILS=0.12
2016-12-24 13:06:45 +09:00
- python: nightly
env: DOCUTILS=0.12
- python: "pypy-5.4.1"
2016-12-24 13:06:45 +09:00
env: DOCUTILS=0.12
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
- 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
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