Skip to content

Commit

Permalink
Travis deploy binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatto authored and Gael Gillard committed Dec 5, 2016
1 parent 4cb8ee5 commit aebc4ab
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
language: go

go:
- 1.3
- 1.4
- tip
- 1.7

os:
- linux
- osx
env:
- "PATH=/home/travis/gopath/bin:$PATH"

script: go test ./...
before_install:
- go get github.com/mitchellh/gox
- go get github.com/tcnksm/ghr

script:
- go test ./...

after_success:
- gox -output "build/{{.OS}}_{{.Arch}}_{{.Dir}}"
- ghr --username Swatto --token $GITHUB_TOKEN --replace --prerelease --debug pre-release build/

notifications:
email: false

0 comments on commit aebc4ab

Please sign in to comment.