Fix Travis builds
This commit is contained in:
parent
9729316082
commit
4133c751eb
1 changed files with 3 additions and 2 deletions
|
@ -14,8 +14,9 @@ before_install:
|
||||||
- go get github.com/mitchellh/gox
|
- go get github.com/mitchellh/gox
|
||||||
- go get github.com/tcnksm/ghr
|
- go get github.com/tcnksm/ghr
|
||||||
|
|
||||||
|
script:
|
||||||
# There are no tests at the moment :(
|
# There are no tests at the moment :(
|
||||||
script: "true"
|
- go version
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- "[ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ] && gox -ldflags \"-X 'main.buildVersion=${BUILD_VERSION} (${TRAVIS_COMMIT})' -X 'main.buildDate=${DATE}'\" -output \"dist/hoarder_{{.OS}}_{{.Arch}}\" ./cmd/hoarder || false"
|
- "[ \"${TRAVIS_PULL_REQUEST}\" = \"false\" ] && gox -ldflags \"-X 'main.buildVersion=${BUILD_VERSION} (${TRAVIS_COMMIT})' -X 'main.buildDate=${DATE}'\" -output \"dist/hoarder_{{.OS}}_{{.Arch}}\" ./cmd/hoarder || false"
|
||||||
|
|
Loading…
Reference in a new issue