chore: Fix timezone in TravisCI

This commit is contained in:
tsuyoshiwada 2018-02-18 21:49:58 +09:00
parent ff400cdfd3
commit ec1d4dec3c

View file

@ -5,15 +5,18 @@ notifications:
go:
- 1.9
before_install:
- go get github.com/golang/dep/...
- go get github.com/mitchellh/gox
- go get github.com/tcnksm/ghr
before_script:
- export TZ=Asia/Tokyo
- sudo timedatectl set-timezone Asia/Tokyo
- timedatectl
script:
- make test
branches:
only:
- master
after_success:
# todo
- echo "TODO release process"
# - 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/