Skip to content

Commit

Permalink
travis: call go get before install and only run gotest once for race …
Browse files Browse the repository at this point in the history
…detection
  • Loading branch information
Marcel Hauf committed Mar 15, 2016
1 parent 5184e92 commit bb1698b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@ go:
- 1.6
- tip

install:
- go get -u golang.org/x/tools/cmd/cover
- go get -u github.com/mattn/goveralls
before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- go get golang.org/x/net/context
- go get github.com/gorilla/websocket
- go get github.com/ugorji/go/codec

script:
- go test -v -race ./...
- go test -coverprofile=profile.cov
- $HOME/gopath/bin/goveralls -coverprofile=profile.cov -service=travis-ci
- $HOME/gopath/bin/goveralls -service=travis-ci

matrix:
allow_failures:
Expand Down

0 comments on commit bb1698b

Please sign in to comment.