Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
Run goreleaser on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
martinplaner committed Oct 12, 2017
1 parent ee5d958 commit 408c8fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
builds:
- binary: felix
goos:
- windows
- darwin
- linux
goarch:
- amd64
ldflags: -s -w -X main.Version={{.Version}} -X main.GitSummary={{.Commit}} -X main.BuildDate={{.Date}}
env:
- CGO_ENABLED=0

archive:
format: tar.gz
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ script: ./coverage.sh

after_success:
- if [ -z "$TRAVIS_TAG" ]; then bash <(curl -s https://codecov.io/bash); else echo "Tag build detected. Not uploading coverage (codecov)."; fi
- test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash

0 comments on commit 408c8fc

Please sign in to comment.