magic-wormhole/.travis.yml

52 lines
1.1 KiB
YAML
Raw Normal View History

2015-06-21 01:08:46 +00:00
language: python
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
dist: trusty
sudo: false
- python: 3.3
dist: trusty
sudo: false
- python: 3.4
dist: trusty
sudo: false
- python: 3.5
dist: trusty
sudo: false
- python: 3.6
dist: trusty
sudo: false
- python: 3.7
dist: xenial
# we don't actually need sudo, but that kicks us onto GCE, which means
# "group: edge" will let us get Ubuntu 14.04 LTS (xenial)
#group: edge
sudo: true
- python: nightly
dist: trusty
sudo: false
allow_failures:
2018-07-27 21:17:16 +00:00
- python: 3.3
dist: trusty
sudo: false
- python: nightly
dist: trusty
sudo: false