Use INTEGRATION_TEST in script

This commit is contained in:
Brad Warren 2018-08-16 11:08:38 -07:00
parent 172afb8500
commit cc3702f2d1

View file

@ -2,10 +2,12 @@
set -e
if [ "$TOXENV" != "py27-nginx-oldest" ]; then
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
fi
if [ "$TOXENV" != "py27-certbot-oldest" ]; then
# 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