wcs-olap/tox.ini

30 lines
720 B
INI

# 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}/wcs-olap/{env:BRANCH_NAME:}
envlist = coverage
[testenv]
usedevelop = true
basepython = python2
setenv =
coverage: COVERAGE=--junit-xml=junit.xml --cov=wcs_olap --cov-report xml --cov-report html
WCSCTL=wcs/wcsctl.py
deps =
coverage
pytest
pytest-cov
pytest-random
quixote<3.0
psycopg2-binary
vobject
gadjo
mock
django>=1.11,<1.12
commands =
./get_wcs.sh
py.test {env:COVERAGE:} {posargs:--random-group tests}