From 41d5db5bbc67874c0ddf1c4ccd29e8f1051ee74b Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Mon, 10 Apr 2017 11:42:09 +0100 Subject: [PATCH] [tox] only test on py27 and py36 when running 'tox' without arguments When running tox locally during development, there's no need to also test python 3.5. 2.7 and 3.6 are enough, and the CI takes care of the others (3.4, 3.5, pypy, etc.). --- README.rst | 7 +++---- tox.ini | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 2af0be17f..2d578720e 100644 --- a/README.rst +++ b/README.rst @@ -276,9 +276,8 @@ environments. Note that when you run ``tox`` without arguments, the tests are executed for all the environments listed in tox.ini's ``envlist``. In our case, -this includes Python 2.7, 3.5 and 3.6, so for this to work the -``python2.7``, ``python3.5`` and ``python3.6`` executables must be -available in your ``PATH``. +this includes Python 2.7 and 3.6, so for this to work the ``python2.7`` +and ``python3.6`` executables must be available in your ``PATH``. You can specify an alternative environment list via the ``-e`` option, or the ``TOXENV`` environment variable: @@ -286,7 +285,7 @@ or the ``TOXENV`` environment variable: .. code:: sh tox -e py27-nocov - TOXENV="py{27,36}-cov" tox + TOXENV="py36-cov,htmlcov" tox Development Community ~~~~~~~~~~~~~~~~~~~~~ diff --git a/tox.ini b/tox.ini index 50130ca0e..50b6178ce 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{27,35,36}-cov, htmlcov +envlist = py{27,36}-cov, htmlcov [testenv] basepython =