Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
bitspill committed Jul 20, 2018
1 parent b4c5bbc commit f89cd54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f89cd54

Please sign in to comment.