# 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}/logtracker/{env:BRANCH_NAME:} envlist = dj111 [testenv] usedevelop = true basepython = python3 setenv = DJANGO_SETTINGS_MODULE=tests.settings coverage: COVERAGE=--junit-xml=test_results.xml --cov=logtracker --cov-report xml deps = dj111: django>=1.11,<1.12 coverage django_webtest psycopg2<2.9 pytest pytest-cov pytest-django tz commands = dj111: py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=logtracker -s -x tests/ --disable-warnings} [pytest] filterwarnings = once:.*