dosage/tox.ini

26 lines
661 B
INI
Raw Normal View History

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 =
-r{toxinidir}/requirements.txt
2016-03-20 18:43:48 +00:00
pytest-xdist
pytest-cov
pytest-travis-fold
2016-03-20 18:43:48 +00:00
cssselect
Pillow
[flake8]
# we aim for 79, but this suppresses warnings for now...
max-line-length = 120
ignore = E121,E126,E241
exclude = build