tracker/.travis.yml

23 lines
600 B
YAML
Raw Normal View History

2016-02-26 00:52:50 +01:00
language: go
go:
2016-08-17 04:26:19 +02:00
- 1.7
2016-02-26 00:52:50 +01:00
sudo: false
2016-03-03 01:24:04 +01:00
install:
- go get -t ./...
- go get -u github.com/golang/lint/golint
- go get -u golang.org/x/tools/cmd/goimports
2016-03-03 01:24:04 +01:00
script:
- go test -v $(go list ./... | grep -v /vendor/)
- go vet $(go list ./... | grep -v /vendor/)
- diff <(goimports -d $(find . -type f -name '*.go' -not -path "./vendor/*")) <(printf "")
2016-08-17 05:37:40 +02:00
#- for d in $(go list ./... | grep -v /vendor/); do diff <(golint $d) <(printf ""); done
2016-02-26 00:52:50 +01:00
notifications:
irc:
channels:
- irc.freenode.net#chihaya
2016-02-26 00:52:50 +01:00
use_notice: true
skip_join: true
on_success: always
on_failure: always
email: false