42d849fe52
'tox' run locally should only exercise sensible combinations (py27-nodilate, py34-nodilate, py35/36/37 with dilate). Travis will run exactly these by using a different script for each version of python. Also added a separate flake8 builder (which uses a small subset of warnings, as the default set is currently much too noisy).
38 lines
837 B
YAML
38 lines
837 B
YAML
language: python
|
|
# defaults: the py3.7 environment overrides these
|
|
dist: trusty
|
|
sudo: false
|
|
|
|
cache: pip
|
|
before_cache:
|
|
- rm -f $HOME/.cache/pip/log/debug.log
|
|
branches:
|
|
except:
|
|
- /^WIP-.*$/
|
|
install:
|
|
- pip install -U pip tox virtualenv codecov
|
|
after_success:
|
|
- codecov
|
|
matrix:
|
|
include:
|
|
- python: 2.7
|
|
script: tox -e py27-nodilate
|
|
- python: 3.4
|
|
script: tox -e py34-nodilate
|
|
- python: 3.5
|
|
script: tox -e py35-coverage
|
|
- python: 3.6
|
|
script: tox -e py36-coverage
|
|
- python: 3.7
|
|
# we don't actually need sudo, but that kicks us onto GCE, which lets
|
|
# us get xenial
|
|
sudo: true
|
|
dist: xenial
|
|
script: tox -e py37-coverage
|
|
- python: nightly
|
|
script: tox -e py-coverage
|
|
- python: 3.6
|
|
script: tox -e flake8
|
|
allow_failures:
|
|
- python: nightly
|