diff options
author | Brad Warren <bmw@users.noreply.github.com> | 2017-05-16 22:19:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-16 22:19:07 +0300 |
commit | 8c29cb0810adbb5f08b4f8317ff522899738e197 (patch) | |
tree | 5d1be92e857baf7635eef383a1f4a350b8d81ee2 /tests/boulder-integration.sh | |
parent | 06c7143b218941893c0d4197c6583fde4e3592d6 (diff) |
Force nginx tests to run during CI (#4558)
* force nginx tests to run during CI
* offer default value
Diffstat (limited to 'tests/boulder-integration.sh')
-rwxr-xr-x | tests/boulder-integration.sh | 4 |
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 |