language: go dist: trusty sudo: false go: - "1.8.x" - "1.9.x" - "1.10.x" - master before_script: - "go get -u gopkg.in/alecthomas/gometalinter.v2" - "gometalinter.v2 --install" script: - "go test -v -cover -benchmem -bench=. $(go list ./... | grep -v /vendor/ | sed \"s&_${PWD}&.&\")" - "gometalinter.v2 --enable-all --exclude=dupl ./..."