Skip to content

Commit 3534e4c

Browse files
TheNavigatbmw
authored andcommitted
Allowing modification check to run using "tox" (certbot#3704)
certbot#3337 and certbot#3338 should ideally run when the user type tox. This allows them to catch the problem locally before they make a PR.
1 parent 5ed0f36 commit 3534e4c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tox.ini

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[tox]
66
skipsdist = true
7-
envlist = py{26,33,34,35},cover,lint
7+
envlist = modification,py{26,33,34,35},cover,lint
88

99
# nosetest -v => more verbose output, allows to detect busy waiting
1010
# loops, especially on Travis
@@ -93,6 +93,12 @@ commands =
9393
pip install -e acme[dev] -e .[dev] -e certbot-nginx
9494
python certbot-compatibility-test/nginx/roundtrip.py certbot-compatibility-test/nginx/nginx-roundtrip-testdata
9595

96+
# This is a duplication of the command line in testenv:le_auto to
97+
# allow users to run the modification check by running `tox`
98+
[testenv:modification]
99+
commands =
100+
{toxinidir}/tests/modification-check.sh
101+
96102
[testenv:le_auto]
97103
# At the moment, this tests under Python 2.7 only, as only that version is
98104
# readily available on the Trusty Docker image.

0 commit comments

Comments
 (0)