Update go get and build package

This commit is contained in:
jar3b 2019-03-28 20:28:13 +03:00
parent 2d69cc5be5
commit 72aba59713

View File

@ -12,11 +12,11 @@ install:
- # skip
script:
- go build ./...
- go get ./...
- diff -u <(echo -n) <(gofmt -d .)
- go test -v -race ./...
# Only build binaries from the latest Go release.
- if [ "${LATEST}" = "true" ]; then gox -os="linux" -arch="amd64" -output="concron.." -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose ./...; fi
- if [ "${LATEST}" = "true" ]; then gox -os="linux" -arch="amd64" -output="concron.." -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose src/main.go; fi
deploy:
provider: releases