Skip to content

Commit

Permalink
removed py33 from tests, added py36
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Jan 18, 2017
1 parent c4141bb commit 3c86825
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 37 deletions.
26 changes: 18 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
language: python
env:
- TOXENV=flake8
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=py35
- TOXENV=pypy
- TOXENV=docs
matrix:
include:
- python: 2.7
env: TOXENV=flake8
- python: 3.6
env: TOXENV=flake8
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: pypy
env: TOXENV=pypy
- python: 2.7
env: TOXENV=docs
install:
- pip install tox
script:
Expand Down
39 changes: 10 additions & 29 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
[tox]
envlist=flake8,py27,py33,py34,py35,pypy,docs,coverage
envlist=flake8,py27,py34,py35,py36,pypy,docs,coverage
skip_missing_interpreters=True

[testenv]
commands=
coverage run --branch --include="socketio/*" setup.py test
coverage report --show-missing
coverage erase
deps=
coverage
mock
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
pypy: pypy

[testenv:flake8]
basepython=python
Expand All @@ -15,32 +24,6 @@ deps=
commands=
flake8 --exclude=".*" --ignore=E402 socketio tests

[testenv:py27]
basepython=python2.7
deps=
coverage
mock

[testenv:py33]
basepython=python3.3
deps=
coverage

[testenv:py34]
basepython=python3.4
deps=
coverage

[testenv:py35]
basepython=python3.5
deps=
coverage

[testenv:pypy]
basepython=pypy
deps=
coverage

[testenv:docs]
basepython=python2.7
changedir=docs
Expand All @@ -53,8 +36,6 @@ commands=

[testenv:coverage]
basepython=python
deps=
coverage
commands=
coverage run --branch --source=socketio setup.py test
coverage html
Expand Down

0 comments on commit 3c86825

Please sign in to comment.