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.

37 lines
663 B

  1. language: go
  2. sudo: false
  3. branches:
  4. except:
  5. - release
  6. branches:
  7. only:
  8. - master
  9. - travis
  10. go:
  11. - "1.11.x"
  12. - tip
  13. matrix:
  14. allow_failures:
  15. - go: tip
  16. before_install:
  17. - if [ -n "$GH_USER" ]; then git config --global github.user ${GH_USER}; fi;
  18. - if [ -n "$GH_TOKEN" ]; then git config --global github.token ${GH_TOKEN}; fi;
  19. - go get github.com/mattn/goveralls
  20. before_script:
  21. - make deps
  22. script:
  23. - make qa
  24. after_failure:
  25. - cat ./target/test/report.xml
  26. after_success:
  27. - if [ "$TRAVIS_GO_VERSION" = "1.11.1" ]; then $HOME/gopath/bin/goveralls -covermode=count -coverprofile=target/report/coverage.out -service=travis-ci; fi;