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.

27 lines
403 B

  1. language: go
  2. go:
  3. - 1.6
  4. - 1.7
  5. - 1.8
  6. - 1.9
  7. - master
  8. sudo: false
  9. before_install:
  10. - go get github.com/mattn/goveralls
  11. install:
  12. - go get
  13. - go build
  14. script:
  15. - make test
  16. - go test -coverprofile=cover.out github.com/tencentyun/cos-go-sdk-v5
  17. - $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=cover.out
  18. matrix:
  19. allow_failures:
  20. - go: 1.6
  21. - go: 1.7
  22. - go: master