mirror of
https://github.com/certbot/certbot.git
synced 2026-04-22 06:37:00 -04:00
Occasionally a network error prevents Docker from starting boulder causing Travis tests to fail like it did at https://travis-ci.org/certbot/certbot/jobs/282923098. This works around the problem by using travis_retry to try to start boulder again if it fails. This also moves the logic of waiting for boulder to start into tests/boulder-fetch.sh so people running integration tests locally can benefit.
12 lines
381 B
Bash
Executable file
12 lines
381 B
Bash
Executable file
#!/bin/bash -e
|
|
# A simple wrapper around tests/boulder-integration.sh that activates the tox
|
|
# virtual environment defined by the environment variable TOXENV before running
|
|
# integration tests.
|
|
|
|
if [ -z "${TOXENV+x}" ]; then
|
|
echo "The environment variable TOXENV must be set to use this script!" >&2
|
|
exit 1
|
|
fi
|
|
|
|
source .tox/$TOXENV/bin/activate
|
|
tests/boulder-integration.sh
|