dockerfiles: run pixiecore tests while building container.

This is a poor man's version of "only build a container when
the continuous build is green." Travis would be better, but
we can't yet trigger once per commit, only once per build
in the build matrix, so that doesn't work.
This commit is contained in:
David Anderson 2017-01-05 02:33:40 -08:00
parent d0245412cc
commit 24c1e129d6

View File

@ -20,6 +20,7 @@ go get -v github.com/Masterminds/glide
go get -v -d go.universe.tf/netboot/cmd/pixiecore go get -v -d go.universe.tf/netboot/cmd/pixiecore
cd /tmp/go/src/go.universe.tf/netboot cd /tmp/go/src/go.universe.tf/netboot
/tmp/go/bin/glide install /tmp/go/bin/glide install
go test $(/tmp/go/bin/glide nv)
cd cmd/pixiecore cd cmd/pixiecore
go build . go build .
cp ./pixiecore /pixiecore cp ./pixiecore /pixiecore