2016-03-20 18:43:48 +00:00
|
|
|
# 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, py35
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
commands = py.test --cov=dosage --cov=dosagelib --tb=short -n10
|
2016-03-20 19:32:08 +00:00
|
|
|
passenv = TRAVIS
|
2016-03-20 18:43:48 +00:00
|
|
|
# Also install optional dependencies for tests.
|
|
|
|
deps =
|
|
|
|
pytest-xdist
|
|
|
|
pytest-cov
|
2016-03-20 18:53:43 +00:00
|
|
|
pytest-travis-fold
|
2016-03-20 18:43:48 +00:00
|
|
|
cssselect
|
|
|
|
Pillow
|