.travis.yml 314 B

1234567891011121314151617
  1. language: go
  2. sudo: false
  3. go:
  4. - 1.9.x
  5. - 1.10.x
  6. install:
  7. - go get -t ./...
  8. - go get github.com/mattn/goveralls
  9. script:
  10. - go fmt ./...
  11. - go vet ./...
  12. - go test -v
  13. - go test -v --race
  14. - go test -v -covermode=count -coverprofile=coverage.out
  15. - $HOME/gopath/bin/goveralls -coverprofile coverage.out -service travis-ci