本站源代码
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.

17 lines
382B

  1. sudo: false
  2. language: go
  3. go:
  4. - 1.6
  5. script:
  6. - go get golang.org/x/tools/cmd/cover
  7. - go get github.com/mattn/goveralls
  8. - go get github.com/kisielk/errcheck
  9. - go test -v -race
  10. - go vet
  11. - errcheck ./...
  12. - go test -coverprofile=profile.out -covermode=count
  13. - goveralls -service=travis-ci -coverprofile=profile.out -repotoken $COVERALLS
  14. notifications:
  15. email:
  16. - marty.schoch@gmail.com
上海开阖软件有限公司 沪ICP备12045867号-1