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:
1 parent
cfc1fa4fae
commit
353ccf5e6c
2 files changed
+3
-4
No files matched your search
@@ -40,4 +40,7 @@ if [ -n "$TEST_AND_PUBLISH" ] ; then
|
|||||||
../tools/rebuild-image weaveworks/weavebuild . Dockerfile build.sh
|
../tools/rebuild-image weaveworks/weavebuild . Dockerfile build.sh
|
||||||
touch $SRCDIR/.build.uptodate
|
touch $SRCDIR/.build.uptodate
|
||||||
sudo chown -R ubuntu /usr/local/go
|
sudo chown -R ubuntu /usr/local/go
|
||||||
|
cd $SRCDIR
|
||||||
|
make testrunner
|
||||||
|
make COVERAGE=true RM= exes all
|
||||||
fi
|
fi
|
||||||
@@ -5,10 +5,6 @@ set -e
|
|||||||
source "$STATE"
|
source "$STATE"
|
||||||
|
|
||||||
if [ -n "$TEST_AND_PUBLISH" ] ; then
|
if [ -n "$TEST_AND_PUBLISH" ] ; then
|
||||||
cd $SRCDIR
|
|
||||||
make testrunner
|
|
||||||
make COVERAGE=true RM= all
|
|
||||||
|
|
||||||
cd $SRCDIR/test
|
cd $SRCDIR/test
|
||||||
[ -z "$SECRET_PASSWORD" ] || (./gce.sh setup && eval $(./gce.sh hosts) && ./setup.sh)
|
[ -z "$SECRET_PASSWORD" ] || (./gce.sh setup && eval $(./gce.sh hosts) && ./setup.sh)
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user