Browse Source

Simplify a bit the test configuration.

Ionel Cristian Mărieș 11 years ago
parent
commit
c883ccb22d
1 changed files with 3 additions and 16 deletions
  1. 3 16
      tox.ini

+ 3 - 16
tox.ini

@@ -8,49 +8,36 @@ envlist =
 
 [testenv]
 sitepackages = False
-commands = nosetests
+setenv = C_DEBUG_TEST = 1
+commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
+           {posargs:nosetests --stop --no-path-adjustment --with-coverage --cover-inclusive --cover-erase --verbose}
 
 [testenv:3.4]
 basepython = python3.4
 deps = -r{toxinidir}/requirements/default.txt
        -r{toxinidir}/requirements/test3.txt
        -r{toxinidir}/requirements/test-ci.txt
-setenv = C_DEBUG_TEST = 1
-commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
-           nosetests -xsv --with-coverage --cover-inclusive --cover-erase []
 
 [testenv:3.3]
 basepython = python3.3
 deps = -r{toxinidir}/requirements/default.txt
        -r{toxinidir}/requirements/test3.txt
        -r{toxinidir}/requirements/test-ci.txt
-setenv = C_DEBUG_TEST = 1
-commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
-           nosetests -xsv --with-coverage --cover-inclusive --cover-erase []
 
 [testenv:2.7]
 basepython = python2.7
 deps = -r{toxinidir}/requirements/default.txt
        -r{toxinidir}/requirements/test.txt
        -r{toxinidir}/requirements/test-ci.txt
-setenv = C_DEBUG_TEST = 1
-commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
-           nosetests -xsv --with-coverage --cover-inclusive --cover-erase []
 
 [testenv:2.6]
 basepython = python2.6
 deps = -r{toxinidir}/requirements/default.txt
        -r{toxinidir}/requirements/test.txt
        -r{toxinidir}/requirements/test-ci.txt
-setenv = C_DEBUG_TEST = 1
-commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
-           nosetests -xsv --with-coverage --cover-inclusive --cover-erase []
 
 [testenv:pypy]
 basepython = pypy
 deps = -r{toxinidir}/requirements/default.txt
        -r{toxinidir}/requirements/test.txt
        -r{toxinidir}/requirements/test-ci.txt
-setenv = C_DEBUG_TEST = 1
-commands = {toxinidir}/extra/release/removepyc.sh {toxinidir}
-           nosetests -xsv --with-coverage --cover-inclusive --cover-erase []