magic-wormhole/.travis.yml

44 lines
968 B
YAML
Raw Normal View History

2015-06-21 01:08:46 +00:00
language: python
2018-07-27 21:26:31 +00:00
# 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-.*$/
2015-06-21 01:08:46 +00:00
install:
2016-07-01 16:19:34 +00:00
- pip install -U pip tox virtualenv codecov
2017-07-23 16:53:10 +00:00
before_script:
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then
pip install -U flake8 ;
2017-07-23 17:38:46 +00:00
flake8 *.py src --count --select=E901,E999,F821,F822,F823 --statistics ;
2017-07-23 16:53:10 +00:00
fi
2015-06-21 01:08:46 +00:00
script:
2016-07-01 16:19:34 +00:00
- tox -e coverage
after_success:
- codecov
matrix:
include:
- python: 2.7
- python: 3.3
- python: 3.4
- python: 3.5
- python: 3.6
- python: 3.7
2018-07-27 21:26:31 +00:00
# we don't actually need sudo, but that kicks us onto GCE, which lets
# us get xenial
sudo: true
2018-07-27 21:26:31 +00:00
dist: xenial
- python: nightly
allow_failures:
- python: 2.7
2018-07-27 21:17:16 +00:00
- python: 3.3
# txtorcon is currently broken on py3.4
- python: 3.4
# travis doesn't support py3.7 yet
- python: 3.7
2018-07-27 21:17:16 +00:00
- python: nightly