magic-wormhole/.travis.yml
2019-02-10 11:07:43 -08:00

39 lines
855 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
env: FLAKE8
allow_failures:
- python: nightly