mirror of
https://github.com/danderson/netboot.git
synced 2025-08-11 09:07:12 +02:00
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:
parent
d0245412cc
commit
24c1e129d6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user