Barry Warsaw pushed to branch master at mailman / Mailman
Commits:
471851ba by Barry Warsaw at 2016-01-24T21:50:45-05:00
Use the default python3 interpreter sometimes.
For the non-default test environments, use whatever Python 3 version is
the default.
- - - - -
1 changed file:
- tox.ini
Changes:
=====================================
tox.ini
=====================================
--- a/tox.ini
+++ b/tox.ini
@@ -13,7 +13,7 @@ passenv=
# This environment requires you to set up PostgreSQL and create a .cfg file
# somewhere outside of the source tree.
[testenv:pg]
-basepython = python3.4
+basepython = python3
commands = python -m nose2 -v
usedevelop = True
deps = psycopg2
@@ -23,7 +23,7 @@ rcfile = {toxinidir}/coverage.ini
rc = --rcfile={[coverage]rcfile}
[testenv:coverage]
-basepython = python3.5
+basepython = python3
commands =
python -m coverage run {[coverage]rc} -m nose2 -v
python -m coverage combine {[coverage]rc}
@@ -38,7 +38,7 @@ setenv =
COVERAGE_FILE={toxinidir}/.coverage
[testenv:diffcov]
-basepython = python3.5
+basepython = python3
commands =
python -m coverage run {[coverage]rc} -m nose2 -v
python -m coverage combine {[coverage]rc}
View it on GitLab:
https://gitlab.com/mailman/mailman/commit/471851bab74874f02de08d71a3c1256c3ec6390d
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org