hoarder/.travis.yml

13 lines
412 B
YAML
Raw Normal View History

2016-05-13 18:14:25 -04:00
language: go
go:
- 1.6
2016-05-16 20:55:31 -04:00
before_install:
- go get github.com/mitchellh/gox
- go get github.com/tcnksm/ghr
after_success:
- gox -ldflags "-X 'main.buildVersion=$(if [ -n $TRAVIS_TAG ]; then echo -n $TRAVIS_COMMIT; else echo -n $TRAVIS_TAG; fi)' -X 'main.buildDate=$(date -u +%Y/%m/%d %H:%M:%S)'"
- ghr -u tblyler -r $TRAVIS_REPO_SLUG --token $GITHUB_TOKEN --replace dist/