We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09891c6 commit 10a10fbCopy full SHA for 10a10fb
.travis.yml
@@ -8,7 +8,7 @@ install:
8
- go test -i ./...
9
- go get -u github.com/mitchellh/gox
10
- mkdir release
11
-- cd release && gox -arch 'amd64' -os 'linux windows darwin' -ldflags "-X main.version=$TRAVIS_TAG" ../src/...
+- cd release && gox -arch 'amd64' -os 'linux windows darwin' -ldflags "-X main.version=$TRAVIS_BUILD_NUMBER" ../src/...
12
script:
13
- cd $TRAVIS_BUILD_DIR
14
- go test -race -v ./...
0 commit comments