zoo/tox.ini

40 lines
891 B
INI
Raw Normal View History

2017-01-02 17:48:23 +01: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]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/zoo/
[testenv]
# django.contrib.auth is not tested it does not work with our templates
whitelist_externals =
/bin/mv
setenv =
DJANGO_SETTINGS_MODULE=zoo.settings
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov=zoo/
fast: FAST=--nomigrations
usedevelop =
coverage: True
nocoverage: False
deps =
pg: psycopg2
coverage
pytest-cov
pytest-django
mock
pytest
lxml
cssselect
pylint
pylint-django
django-webtest
WebTest
pyquery
httmock
pytest-capturelog
pytz
faker
commands =
py.test {env:FAST:} {env:COVERAGE:} {posargs:tests/}