tox.ini: use environment tag to fix python interpreter

This commit is contained in:
Benjamin Dauvergne 2019-04-11 19:20:28 +02:00
parent 6dd398b693
commit 3238830c31
1 changed files with 1 additions and 2 deletions

View File

@ -5,11 +5,10 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/wcs-olap/{env:BRANCH_NAME:}
envlist = coverage
envlist = py2-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