Check if the code is gofmt'ed

This commit is contained in:
Yoshiyuki Mineo
2015-11-26 18:36:40 +09:00
parent c4c695c9ad
commit bd04110880

View File

@@ -7,5 +7,6 @@ before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
script:
- test -z "`gofmt -l .`"
- $GOPATH/bin/goveralls -service=travis-ci
- cd example && ./linux64_build.sh