mirror of
https://github.com/git-chglog/git-chglog.git
synced 2026-01-23 10:25:24 +00:00
chore: Add travis configuration
This commit is contained in:
parent
9e216d5627
commit
1d37984592
1 changed files with 19 additions and 0 deletions
19
.travis.yml
Normal file
19
.travis.yml
Normal file
|
|
@ -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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue