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
This commit is contained in:
Jon Dufresne
2019-01-01 10:28:29 -08:00
parent 5a359ba4de
commit 3e4d6fb5aa
+3 -6
View File
@@ -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