Browse Source

Merge pull request #198 from Shopify/errcheck

Add errcheck to build
Evan Huus 11 years ago
parent
commit
67abf2f948
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .travis.yml

+ 2 - 0
.travis.yml

@@ -13,10 +13,12 @@ before_install:
 - vagrant/create_topics.sh
 - go install -a -race regexp # Fix for go 1.2
 - go get code.google.com/p/go.tools/cmd/vet
+- go get github.com/kisielk/errcheck
 
 script:
 - go test -v -race ./...
 - go vet ./...
+- errcheck github.com/Shopify/sarama/
 - if [[ -n $(go fmt ./...) ]]; then echo "Please run go fmt on your code." && exit 1; fi
 
 notifications: