From f89cd5492876a5516c92f72e8e7db22029ffd408 Mon Sep 17 00:00:00 2001 From: Jeremiah Buddenhagen Date: Fri, 20 Jul 2018 15:23:06 -0700 Subject: [PATCH] travis --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9cd2d99..e14e3f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,10 +28,10 @@ cache: script: - go test -v -race ./... # Only build binaries from the latest Go release. - - if [ "${LATEST}" = "true" ]; then go build github.com/bitspill/oip/cmd/oipd - -ldflags "-X github.com/bitspill/oip/version.GitCommitHash=$(git rev-parse --short HEAD) + - if [ "${LATEST}" = "true" ]; then go build -ldflags + "-X github.com/bitspill/oip/version.GitCommitHash=$(git rev-parse --short HEAD) -X github.com/bitspill/oip/version.BuildDate=$(date +'%Y.%m.%d.%H%M%S') - -X github.com/bitspill/oip/version.BuiltBy=TravisCI" -o oipd; fi + -X github.com/bitspill/oip/version.BuiltBy=TravisCI" -o oipd github.com/bitspill/oip/cmd/oipd; fi before_deploy: - git config --local user.name "jennyruok"