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
path: root/tests
diff options
context:
space:
mode:
authorBrad Warren <bmw@users.noreply.github.com>2017-05-16 22:19:07 +0300
committerGitHub <noreply@github.com>2017-05-16 22:19:07 +0300
commit8c29cb0810adbb5f08b4f8317ff522899738e197 (patch)
tree5d1be92e857baf7635eef383a1f4a350b8d81ee2 /tests
parent06c7143b218941893c0d4197c6583fde4e3592d6 (diff)
Force nginx tests to run during CI (#4558)
* force nginx tests to run during CI * offer default value
Diffstat (limited to 'tests')
-rwxr-xr-xtests/boulder-integration.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/boulder-integration.sh b/tests/boulder-integration.sh
index 08c482676..d86a6fb8c 100755
--- a/tests/boulder-integration.sh
+++ b/tests/boulder-integration.sh
@@ -203,7 +203,9 @@ common revoke --cert-path "$root/conf/live/le2.wtf/cert.pem" \
common unregister
-if type nginx;
+# Most CI systems set this variable to true.
+# If the tests are running as part of CI, Nginx should be available.
+if ${CI:-false} || type nginx;
then
. ./certbot-nginx/tests/boulder-integration.sh
fi