Move build to 'dependencies' section

This means we don't spend time trying to run other tests if the build failed.
This commit is contained in:
Bryan Boreham committed 2017-01-19 10:59:16 +00:00
1 parent cfc1fa4fae
commit 353ccf5e6c
2 files changed
+3 -4

No files matched your search

+3
View File
@@ -40,4 +40,7 @@ if [ -n "$TEST_AND_PUBLISH" ] ; then
../tools/rebuild-image weaveworks/weavebuild . Dockerfile build.sh
touch $SRCDIR/.build.uptodate
sudo chown -R ubuntu /usr/local/go
cd $SRCDIR
make testrunner
make COVERAGE=true RM= exes all
fi
-4
View File
@@ -5,10 +5,6 @@ set -e
source "$STATE"
if [ -n "$TEST_AND_PUBLISH" ] ; then
cd $SRCDIR
make testrunner
make COVERAGE=true RM= all
cd $SRCDIR/test
[ -z "$SECRET_PASSWORD" ] || (./gce.sh setup && eval $(./gce.sh hosts) && ./setup.sh)
fi