aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2017-06-27 21:29:27 +0200
committerJ08nY2017-06-27 21:29:27 +0200
commit39944faaa390f26ecb3f4bd77da86dbe580dc43a (patch)
tree2e554a0efbaea0413963805a39774bd3a443e118
parenta9c47f53b411aa451c66e7f151c61286500ca8eb (diff)
downloadmailman-pgp-39944faaa390f26ecb3f4bd77da86dbe580dc43a.tar.gz
mailman-pgp-39944faaa390f26ecb3f4bd77da86dbe580dc43a.tar.zst
mailman-pgp-39944faaa390f26ecb3f4bd77da86dbe580dc43a.zip
-rw-r--r--tox.ini43
1 files changed, 20 insertions, 23 deletions
diff --git a/tox.ini b/tox.ini
index 45633d4..22344a6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,32 +4,29 @@ skip_missing_interpreters = True
[testenv]
usedevelop = True
-deps =
- flufl.testing
- parameterized
- nose2
- cov: coverage
- head: git+https://gitlab.com/mailman/mailman.git
- head: git+https://github.com/SecurityInnovation/PGPy
- # Expects a mailman repo and PGPy repo in parent directory.
- dev: -e../mailman
- dev: -e../PGPy
-commands =
- nocov: python -m nose2 -v {posargs}
- cov: python -m coverage run {[coverage]rc} -m nose2 -v {posargs}
- cov: python -m coverage html {[coverage]rc}
- cov: python -m coverage report -m {[coverage]rc}
+deps = flufl.testing
+ parameterized
+ nose2
+ cov: coverage
+ head: git+https://gitlab.com/mailman/mailman.git
+ head: git+https://github.com/SecurityInnovation/PGPy
+ # Expects a mailman repo and PGPy repo in parent directory.
+ dev: -e../mailman
+ dev: -e../PGPy
+setenv = MAILMAN_EXTRA_TESTING_CFG = {toxinidir}/src/mailman_pgp/config/mailman.cfg
+commands = nocov: python -m nose2 -v {posargs}
+ cov: python -m coverage run {[coverage]rc} -m nose2 -v {posargs}
+ cov: python -m coverage html {[coverage]rc}
+ cov: python -m coverage report -m {[coverage]rc}
[testenv:qa]
basepython = python3
-commands =
- python -m flake8 src
-deps =
- flake8>3.0
- flake8-import-order
- # This is ugly, but necessary due to the requirement on dev version of Mailman
- git+https://gitlab.com/mailman/mailman.git
- git+https://github.com/SecurityInnovation/PGPy
+commands = python -m flake8 src
+deps = flake8>3.0
+ flake8-import-order
+ # This is ugly, but necessary due to the requirement on dev version of Mailman
+ git+https://gitlab.com/mailman/mailman.git
+ git+https://github.com/SecurityInnovation/PGPy
[testenv:setup35]
recreate = True