1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

Force nginx tests to run during CI (#4558)

* force nginx tests to run during CI

* offer default value
This commit is contained in:
Brad Warren
2017-05-16 12:19:07 -07:00
committed by GitHub
parent 06c7143b21
commit 8c29cb0810

View File

@@ -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