Skip to content

Commit

Permalink
Add Python 3.6 to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Skinner927 committed May 2, 2018
1 parent fde5c92 commit fab1228
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -14,12 +14,16 @@ matrix:
env: {TOXENV: py34-cov, COVERAGE: 1}
- python: 3.5
env: {TOXENV: py35-test}
- python: 3.6
env: {TOXENV: py36-test}
- python: pypy
env: {TOXENV: pypy-test}
- python: 2.7
env: {TOXENV: py27-flake8}
- python: 3.4
env: {TOXENV: py34-flake8}
- python: 3.6
env: {TOXENV: py36-flake8}
- python: 2.7
env: {TOXENV: docs}

Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py{27,34,35}-test, py27-flake8, docs
envlist = py{27,34,35,36}-test, py27-flake8, docs

# The full environment list is:
# envlist = py{27,34,35}-{test,cov}, py{27,34}-flake8, docs
Expand All @@ -29,12 +29,13 @@ passenv =
NOSE_SHOW_SKIPPED # Undocumented feature of nose-show-skipped.
deps =
{test,cov}: {[_test]deps}
py{27,34}-flake8: {[_flake8]deps}
py{27,34,36}-flake8: {[_flake8]deps}
commands =
cov: nosetests --with-coverage {posargs}
test: nosetests {posargs}
py27-flake8: flake8 --min-version 2.7 {posargs} {[_flake8]files}
py34-flake8: flake8 --min-version 3.4 {posargs} {[_flake8]files}
py36-flake8: flake8 --min-version 3.6 {posargs} {[_flake8]files}

[testenv:docs]
basepython = python2.7
Expand Down

0 comments on commit fab1228

Please sign in to comment.