2017-03-29 19:48:08 -04:00
|
|
|
#!/bin/bash
|
2015-06-12 14:14:33 -04:00
|
|
|
|
2018-08-29 17:11:13 -04:00
|
|
|
set -e
|
2017-03-29 19:48:08 -04:00
|
|
|
|
2018-08-29 17:11:13 -04:00
|
|
|
if [ "$INTEGRATION_TEST" = "certbot" ]; then
|
|
|
|
|
tests/certbot-boulder-integration.sh
|
|
|
|
|
elif [ "$INTEGRATION_TEST" = "nginx" ]; then
|
|
|
|
|
certbot-nginx/tests/boulder-integration.sh
|
|
|
|
|
else
|
|
|
|
|
tests/certbot-boulder-integration.sh
|
|
|
|
|
# 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
|
2016-02-08 20:54:02 -05:00
|
|
|
fi
|
2015-06-27 04:41:45 -04:00
|
|
|
fi
|