.travis.yml 995 B

1234567891011121314151617181920212223242526272829303132
  1. language: go
  2. go:
  3. - 1.4.2
  4. before_install:
  5. - sudo apt-get update -qq
  6. - sudo apt-get install -yqq libgmp3-dev
  7. install:
  8. # - go get code.google.com/p/go.tools/cmd/goimports
  9. # - go get github.com/golang/lint/golint
  10. # - go get golang.org/x/tools/cmd/vet
  11. - go get golang.org/x/tools/cmd/cover github.com/mattn/goveralls
  12. before_script:
  13. # - gofmt -l -w .
  14. # - goimports -l -w .
  15. # - golint .
  16. # - go vet ./...
  17. # - go test -race ./...
  18. script:
  19. - make travis-test-with-coverage
  20. after_success:
  21. - if [ "$COVERALLS_TOKEN" ]; then goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN; fi
  22. env:
  23. global:
  24. - secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64="
  25. notifications:
  26. webhooks:
  27. urls:
  28. - https://webhooks.gitter.im/e/e09ccdce1048c5e03445
  29. on_success: change
  30. on_failure: always
  31. on_start: false