build: some minor post-repo-split fixes; add fastbuild

This commit is contained in:
Casey Callendrello
2017-06-01 18:43:58 +02:00
parent 0997c532a1
commit 43a24515ee
4 changed files with 16 additions and 15 deletions

View File

@ -19,17 +19,10 @@ env:
matrix:
fast_finish: true
install:
- |
go get github.com/containernetworking/cni || true
pushd ../cni
GOARCH="${TARGET}" ./build.sh
popd
script:
- |
if [ "${TARGET}" == "amd64" ]; then
CNI_PATH="$(cd ../cni/bin && pwd)" GOARCH="${TARGET}" ./test.sh
GOARCH="${TARGET}" ./test.sh
else
GOARCH="${TARGET}" ./build.sh
fi