Files
sphinx/.travis.yml
Stephen Finucane 3eb26a3335 travis: Run flake8 against Python 3.6
As with tox and make before it, we run everything that we can against
Python 3 (Python 3.6 in this case).

Signed-off-by: Stephen Finucane <stephen@that.guru>
2018-06-21 15:11:42 +01:00

44 lines
834 B
YAML

language: python
sudo: false
dist: trusty
cache: pip
env:
global:
- PYTHONFAULTHANDLER=x
- SKIP_LATEX_BUILD=1
matrix:
include:
- python: 'pypy'
env: TOXENV=pypy
- python: '2.7'
env:
- TOXENV=du13
- PYTEST_ADDOPTS="--cov ./ --cov-append --cov-config setup.cfg"
- python: '3.4'
env: TOXENV=py34
- python: '3.5'
env: TOXENV=py35
- python: '3.6'
env:
- TOXENV=py36
- PYTEST_ADDOPTS="--cov ./ --cov-append --cov-config setup.cfg"
- python: 'nightly'
env: TOXENV=py37
- python: '3.6'
env: TOXENV=docs
- python: '3.6'
env: TOXENV=mypy
- python: '3.6'
env: TOXENV=flake8
install:
- pip install -U tox codecov
script:
- tox -- -v
after_success:
- if [[ -e .coverage ]]; then codecov -e $TOXENV; fi