From 8c29cb0810adbb5f08b4f8317ff522899738e197 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Tue, 16 May 2017 12:19:07 -0700 Subject: [PATCH] Force nginx tests to run during CI (#4558) * force nginx tests to run during CI * offer default value --- tests/boulder-integration.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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