| - if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then go get -u github.com/kisielk/errcheck; fi |
| - if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then go get -u github.com/golang/lint/golint; fi |
| - '! gofmt -s -l . | read' |
| - echo $TRAVIS_GO_VERSION |
| - if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then golint ./...; fi |
| - if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then errcheck ./...; fi |
| - if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then go tool vet .; fi |
| - if [[ $TRAVIS_GO_VERSION == 1.6* ]]; then go tool vet --shadow .; fi |
| - go test -bench . -v ./... |
| - go test -race -bench . -v ./... |