diff --git a/.travis.yml b/.travis.yml index 98aadfb79..9e6f21f7b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ services: go: - 1.7 + - go1.8beta1 - tip env: @@ -50,10 +51,8 @@ script: - sudo ip addr add 198.51.100.1/24 dev testdummy - go get github.com/google/gofuzz github.com/stretchr/testify - go get github.com/golang/lint/golint github.com/client9/misspell/cmd/misspell - - go list ./... | grep -v github.com/01org/ciao/vendor | xargs -t misspell - go list ./... | grep -v github.com/01org/ciao/vendor | xargs -t go vet -# - go list ./... | grep -v github.com/01org/ciao/vendor | xargs -tL 1 golint -set_exit_status - - if [[ "$TRAVIS_GO_VERSION" != "tip" ]] ; then go list ./... | grep -v github.com/01org/ciao/vendor | xargs -tL 1 golint -set_exit_status ; fi + - go list ./... | grep -v github.com/01org/ciao/vendor | xargs -tL 1 golint -set_exit_status - go list ./... | grep -v github.com/01org/ciao/vendor | xargs go list -f '{{.Dir}}/*.go' | xargs -I % bash -c "misspell -error %" - go list ./... | grep -v github.com/01org/ciao/vendor | xargs go list -f '{{.Dir}}' | xargs gocyclo -over 15 - go list ./... | grep -v github.com/01org/ciao/vendor | xargs go list -f '{{.Dir}}' | xargs -L 1 ineffassign