magic-wormhole/.travis.yml
2018-07-11 17:05:43 -07:00

36 lines
727 B
YAML

# 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)
sudo: true
group: edge
dist: xenial
language: python
cache: pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
branches:
except:
- /^WIP-.*$/
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "nightly"
install:
- pip install -U pip tox virtualenv codecov
before_script:
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then
pip install -U flake8 ;
flake8 *.py src --count --select=E901,E999,F821,F822,F823 --statistics ;
fi
script:
- tox -e coverage
after_success:
- codecov
matrix:
allow_failures:
- python: "3.3"
- python: "nightly"