minimal tox.ini
This commit is contained in:
parent
834c958d8b
commit
c4f98f8a61
|
@ -3,7 +3,7 @@ pipeline {
|
|||
stages{
|
||||
stage('unit test'){
|
||||
steps{
|
||||
sh 'tox -r'
|
||||
sh 'tox -r -- --junitxml=test_results.xml --cov-report xml --cov=bidon/ tests/'
|
||||
}
|
||||
}
|
||||
stage('packaging'){
|
||||
|
|
5
tox.ini
5
tox.ini
|
@ -1,12 +1,11 @@
|
|||
[tox]
|
||||
envlist = coverage-{django18,django111}-pylint
|
||||
envlist = django18,django111
|
||||
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/bidon/
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
setenv =
|
||||
DJANGO_SETTINGS_MODULE=bidon.settings
|
||||
coverage: COVERAGE=--junitxml=test_results.xml --cov-report xml --cov=bidon/
|
||||
deps =
|
||||
django18: django>=1.8,<1.9
|
||||
django111: django>=1.11,<1.12
|
||||
|
@ -14,4 +13,4 @@ deps =
|
|||
pytest-django
|
||||
pytest
|
||||
commands =
|
||||
py.test {env:COVERAGE:} {posargs:tests/}
|
||||
py.test {posargs:tests/}
|
||||
|
|
Loading…
Reference in New Issue