wcs-olap/tox.ini

30 lines
720 B
INI
Raw Permalink Normal View History

# 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]
2019-01-18 11:06:52 +01:00
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/wcs-olap/{env:BRANCH_NAME:}
2019-01-17 17:46:55 +01:00
envlist = coverage
[testenv]
usedevelop = true
2019-01-17 17:46:55 +01:00
basepython = python2
setenv =
2019-01-17 17:46:55 +01:00
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
2019-01-17 17:46:55 +01:00
quixote<3.0
psycopg2-binary
vobject
gadjo
mock
2019-01-17 17:46:55 +01:00
django>=1.11,<1.12
commands =
2019-01-17 17:46:55 +01:00
./get_wcs.sh
py.test {env:COVERAGE:} {posargs:--random-group tests}