Add Python 3.6 to tests and simplify .travis.yml by using 'tox-travis'

This commit is contained in:
Eduard Braun 2017-02-19 18:04:36 +01:00
parent 0ffefcd8bb
commit 3b41d3a547
2 changed files with 11 additions and 16 deletions

View file

@ -1,31 +1,25 @@
language: python language: python
python:
- pypy
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
install: install:
- pip install tox codecov - pip install tox-travis codecov
env:
- TOX_ENV=pypy
- TOX_ENV=py27
- TOX_ENV=py33
- TOX_ENV=py34
# - TOX_ENV=py35
# - TOX_ENV=flake8
script: script:
- tox -e $TOX_ENV - tox
matrix: matrix:
fast_finish: true fast_finish: true
include: include:
# https://github.com/travis-ci/travis-ci/issues/4794#issuecomment-143758799
- python: 3.5 - python: 3.5
env: env:
- TOX_ENV=py35 - TOXENV=flake8
- python: 3.5
env:
- TOX_ENV=flake8
after_success: after_success:
- coverage combine && codecov - coverage combine && codecov

View file

@ -5,6 +5,7 @@ envlist =
py33 py33
py34 py34
py35 py35
py36
flake8 flake8