Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Warren <bmw@eff.org>2020-04-09 23:15:28 +0300
committerBrad Warren <bmw@eff.org>2020-04-24 23:47:36 +0300
commit335894ab3b0665dcf177ba2121a83422b1053fde (patch)
treefda8ae66e2faabde9d65a4f2e314125c8a467b33 /tox.ini
parent2bcabe6626ad4aa0073269bcee9719c24da469cb (diff)
Merge snap code into the Certbot repo
* merge .gitignore * Move snapcraft.yml up one level. * update source * move test.sh to tox.ini * use new tox.ini in .travis.yml * move snap build code * make script executable * remove unused python3-dev * don't use deprecated classic flag * go back to stable channel * add nginx in snap addons * add deploy steps * Add comments explaining external tox envs. * error if not in CI * don't use --depth * remove old .travis.yml * Add big comment about SNAP_TOKEN. * Set all_branches: true. * Add repo setting. * run travis on tags * Add more documenting comments to .travis.yml.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini21
1 files changed, 18 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 7f5b7bd5a..46e73e32f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -138,16 +138,23 @@ commands =
[testenv:apacheconftest]
commands =
- {[base]pip_install} acme certbot certbot-apache certbot-compatibility-test
+ {[base]pip_install} acme certbot certbot-apache
{toxinidir}/certbot-apache/tests/apache-conf-files/apache-conf-test --debian-modules
passenv =
SERVER
-[testenv:apacheconftest-with-pebble]
+[testenv:apacheconftest-external-with-pebble]
+# Run apacheconftest with pebble and Certbot outside of tox's virtual
+# environment.
commands =
- {[base]pip_install} acme certbot certbot-apache certbot-ci certbot-compatibility-test
+ {[base]pip_install} certbot-ci
{toxinidir}/certbot-apache/tests/apache-conf-files/apache-conf-test-pebble.py --debian-modules
+[testenv:apacheconftest-with-pebble]
+commands =
+ {[base]pip_install} acme certbot certbot-apache
+ {[testenv:apacheconftest-external-with-pebble]commands}
+
[testenv:nginxroundtrip]
commands =
{[base]pip_install} acme certbot certbot-apache certbot-nginx
@@ -250,6 +257,14 @@ commands =
--cov-config=certbot-ci/certbot_integration_tests/.coveragerc
coverage report --include 'certbot/*' --show-missing --fail-under=62
+[testenv:integration-external]
+# Run integration tests with Certbot outside of tox's virtual environment.
+commands =
+ {[base]pip_install} certbot-ci
+ pytest certbot-ci/certbot_integration_tests \
+ --acme-server={env:ACME_SERVER:pebble}
+passenv = DOCKER_*
+
[testenv:integration-certbot-oldest]
commands =
{[base]pip_install} certbot