summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-03-07 05:12:39 -0800
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2018-05-20 17:53:49 +0100
commita8d4f37b191399639ce80df0b5316702ca9f7e5f (patch)
treebe7c95e8b81ae02c7e624e66e3e31d0351c5f876
parent9ceffa1cc641d4bc04a714558cd4ad6852f407e5 (diff)
downloadpsycopg2-a8d4f37b191399639ce80df0b5316702ca9f7e5f.tar.gz
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.
-rw-r--r--tox.ini8
1 files changed, 2 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 17612e2..a0eafa4 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