build: use initial checkout within container

speedup and simplify the build within the container
This commit is contained in:
bergquist
2017-03-03 11:07:05 +01:00
parent f185c2c953
commit 26bb9ad399
4 changed files with 8 additions and 23 deletions
+3 -2
View File
@@ -24,7 +24,8 @@ exit_if_fail test -z "$(gofmt -s -l ./pkg | tee /dev/stderr)"
echo "running go vet"
exit_if_fail test -z "$(go vet ./pkg/... | tee /dev/stderr)"
echo "building binaries"
exit_if_fail go run build.go build
echo "running go test"
exit_if_fail go test -v ./pkg/...