summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-01-01 10:28:29 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2019-01-01 10:28:29 -0800
commit3e4d6fb5aa6d53ebf09b5b017c0deb3328e66064 (patch)
treeba404e8da1006683d8f9bccb85b90607243c6c6e
parent5a359ba4def1611b34df003bec58439a125d4e56 (diff)
downloadtablib-3e4d6fb5aa6d53ebf09b5b017c0deb3328e66064.tar.gz
Include pandas dependency when testing with tox
Allows all tests to pass. As pandas is defined as an 'extra', use tox's 'extras' feature. This requires tox 2.4+, so document that as well. https://tox.readthedocs.io/en/latest/config.html#conf-extras
-rw-r--r--tox.ini9
1 files changed, 3 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 32dce59..4dabf0c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,8 @@
-# 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]
+minversion = 2.4
envlist = py27, py34, py35, py36, pypy
[testenv]
-commands = python setup.py test
deps = pytest
+extras = pandas
+commands = python setup.py test