diff --git a/.travis.yml b/.travis.yml index 86b5f71..5995707 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,18 @@ language: go go: - - 1.5.3 - - 1.6 - - tip -matrix: - allow_failures: - - go: tip -sudo: false +- 1.7 before_install: -- go get github.com/golang/lint/golint +- go get -u github.com/golang/lint/golint - go get github.com/axw/gocov/gocov - go get github.com/mattn/goveralls - if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi script: -- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || $HOME/gopath/bin/goveralls -service=travis-ci || true +- '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || $HOME/gopath/bin/goveralls -service=travis-ci -repotoken $COVERALLS_TOKEN' - "$HOME/gopath/bin/golint ./..." - go vet -- go test -v ./... +- go test -bench=.* -v ./... notifications: email: on_success: never