From 270e7668670ee4fbc5478a0ee707471eab4ef718 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Fri, 17 Jun 2016 10:12:56 -0400 Subject: [PATCH] More Travis fixes --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d33ca04..1934ab3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,13 +15,14 @@ before_install: - go get github.com/tcnksm/ghr install: - - "[ \"${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" + - go get ./cmd/hoarder # There are no tests at the moment :( script: - "true" 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" ] && ghr --username tblyler --token "${GITHUB_TOKEN}" --replace --prerelease --debug "${TAG}" dist/ || false' notifications: