2015-09-22 20:33:04 +00:00
|
|
|
sudo: false
|
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
|
|
|
python:
|
|
|
|
- "2.7"
|
2015-09-27 01:32:02 +00:00
|
|
|
- "3.3"
|
|
|
|
- "3.4"
|
|
|
|
- "3.5"
|
2017-01-12 23:14:20 +00:00
|
|
|
- "3.6"
|
|
|
|
- "nightly"
|
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:
|
|
|
|
allow_failures:
|
2017-05-25 00:11:25 +00:00
|
|
|
- python: "3.3"
|
2017-04-23 20:53:12 +00:00
|
|
|
- python: "nightly"
|