Switch to src instead of src/main.go for travis gox build

This commit is contained in:
jar3b 2019-03-29 01:31:57 +03:00
parent 72aba59713
commit 4f0efe53dc

View File

@ -16,7 +16,7 @@ script:
- 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 src/main.go; fi
- if [ "${LATEST}" = "true" ]; then gox -os="linux" -arch="amd64" -output="concron.." -ldflags "-X main.Rev=`git rev-parse --short HEAD`" -verbose src/; fi
deploy:
provider: releases