allow for running individual integration tests

This commit is contained in:
Brad Warren 2018-03-30 17:37:14 -07:00
parent 91918a6853
commit ad5134331c

12
tests/boulder-integration.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
if [ "$TOXENV" != "py27-nginx-oldest" ]; then
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
certbot-nginx/tests/boulder-integration.sh
fi
fi