You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 355B

1234567
  1. language: go
  2. install:
  3. - go get golang.org/x/tools/cmd/cover
  4. - go get github.com/mattn/goveralls
  5. script:
  6. - go test -v -covermode=count -coverprofile=coverage.out
  7. - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ ! -z "$COVERALLS_TOKEN" ]; then $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN; fi'