From fab1228ea2f6ad3f3ada24171076696c975d470b Mon Sep 17 00:00:00 2001 From: Dennis Skinner Date: Wed, 2 May 2018 14:42:07 -0400 Subject: [PATCH] Add Python 3.6 to tests --- .travis.yml | 4 ++++ tox.ini | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a2fbfab..73ee7ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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} diff --git a/tox.ini b/tox.ini index 48eb40b..6466e85 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -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