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 663B

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