From 4f0efe53dc6d7450a0cba6266c16c1c403c6976a Mon Sep 17 00:00:00 2001 From: jar3b Date: Fri, 29 Mar 2019 01:31:57 +0300 Subject: [PATCH] Switch to src instead of src/main.go for travis gox build --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4e130f3..654b7bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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