Skip to content

Commit

Permalink
chore: Add travis configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
wadackel committed Feb 18, 2018
1 parent 9e216d5 commit 1d37984
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: go
sudo: false
notifications:
email: false
go:
- 1.9
before_install:
- go get github.com/golang/dep/...
- go get github.com/mitchellh/gox
- go get github.com/tcnksm/ghr
script:
- make test
branches:
only:
- master
after_success:
# todo
# - gox -os "darwin linux windows" -arch "amd64" -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}" .
# - ghr --username tsuyoshiwada --token $GITHUB_TOKEN --replace `grep 'Version =' version.go | sed -E 's/.*"(.+)"$$/\1/'` dist/

0 comments on commit 1d37984

Please sign in to comment.