This means we don't spend time trying to run other tests if the build failed.
11 lines
188 B
Bash
Executable File
11 lines
188 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
source "$STATE"
|
|
|
|
if [ -n "$TEST_AND_PUBLISH" ] ; then
|
|
cd $SRCDIR/test
|
|
[ -z "$SECRET_PASSWORD" ] || (./gce.sh setup && eval $(./gce.sh hosts) && ./setup.sh)
|
|
fi
|