2015-06-21 01:08:46 +00:00
|
|
|
language: python
|
2016-03-02 21:35:58 +00:00
|
|
|
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
|
2017-04-23 20:53:12 +00:00
|
|
|
matrix:
|
2018-07-27 21:05:30 +00:00
|
|
|
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
|
2017-04-23 20:53:12 +00:00
|
|
|
allow_failures:
|
2018-07-27 21:17:16 +00:00
|
|
|
- python: 3.3
|
|
|
|
dist: trusty
|
|
|
|
sudo: false
|
|
|
|
- python: nightly
|
|
|
|
dist: trusty
|
|
|
|
sudo: false
|