mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
This allows us to validate and reuse the testing tools we use locally for "gate" tests and moves us closer to the eventual goal of deprecating the Makefile targets. This involves adding two new targets to the list of default targets run by tox - docs and mypy. Note that we don't use tox-travis because, wonderful though it may be, configuring it to exclude as many of the tests as we want to exclude is a little convoluted (we have a big test matrix). Signed-off-by: Stephen Finucane <stephen@that.guru>
42 lines
640 B
YAML
42 lines
640 B
YAML
language: python
|
|
sudo: false
|
|
dist: trusty
|
|
cache: pip
|
|
|
|
env:
|
|
global:
|
|
- PYTHONFAULTHANDLER=x
|
|
- PYTHONWARNINGS=all
|
|
- SKIP_LATEX_BUILD=1
|
|
|
|
matrix:
|
|
include:
|
|
- python: 'pypy'
|
|
env: TOXENV=pypy
|
|
- python: '2.7'
|
|
env: TOXENV=du13
|
|
- python: '3.4'
|
|
env: TOXENV=py34
|
|
- python: '3.5'
|
|
env: TOXENV=py35
|
|
- python: '3.6'
|
|
env: TOXENV=py36
|
|
- python: 'nightly'
|
|
env: TOXENV=py37
|
|
- python: '3.6'
|
|
env: TOXENV=mypy
|
|
- python: '2.7'
|
|
env: TOXENV=flake8
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- graphviz
|
|
- imagemagick
|
|
|
|
install:
|
|
- pip install -U tox
|
|
|
|
script:
|
|
- tox -- -v
|