From a8d4f37b191399639ce80df0b5316702ca9f7e5f Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Wed, 7 Mar 2018 05:12:39 -0800 Subject: [PATCH] Complete tox testing matrix Now tests all supported Python environments as well. Allows testing the full matrix of Python version with a single command. Include the command make in the whitelist_externals configuration to avoid the runtime warning: WARNING:test command found but not installed in testenv cmd: /usr/bin/make env: .../psycopg2/.tox/flake8 Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting. --- tox.ini | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tox.ini b/tox.ini index 17612e25..a0eafa4d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,13 +1,9 @@ -# Tox (http://tox.testrun.org/) is a tool for running tests -# in multiple virtualenvs. This configuration file will run the -# test suite on all supported python versions. To use it, "pip install tox" -# and then run "tox" from this directory. - [tox] -envlist = py27 +envlist = py{27,34,35,36} [testenv] commands = make check +whitelist_externals = make [flake8] max-line-length = 85