ssh-chat/.travis.yml
Dmitri Shuralyov 50001bf172 Travis: Check for gofmt issues. (#241)
* Travis: Check for gofmt issues.

This will help catch issues like https://github.com/shazow/ssh-chat/pull/240#discussion_r127626103
in CI.

* chat: Fix gofmt issue.
2017-07-17 15:03:55 -04:00

22 lines
327 B
YAML

notifications:
email: false
language: go
go:
- 1.6
- 1.7
env:
- CGO_ENABLED=0
install:
- go get -t ./...
- go get github.com/gordonklaus/ineffassign
script:
- diff -u <(echo -n) <(gofmt -d .)
- ineffassign .
- go vet $(go list ./... | grep -v /vendor/)
- go test -v $(go list ./... | grep -v /vendor/)