.travis.yml 434 B

12345678910111213141516171819202122232425
  1. language: go
  2. go:
  3. - 1.4
  4. - 1.5
  5. - 1.6
  6. - 1.7
  7. - 1.8
  8. - 1.9
  9. - "1.10"
  10. - tip
  11. before_install:
  12. - "if [[ $TRAVIS_GO_VERSION == 1.10 ]]; then go get -v github.com/golang/lint/golint; fi"
  13. install:
  14. - go get -v -t ./...
  15. script:
  16. - go test -race -cpu 1,4 -v
  17. - go test -race -v -tags appengine
  18. - "if [[ $TRAVIS_GO_VERSION == 1.10 ]]; then go vet ./...; fi"
  19. - "if [[ $TRAVIS_GO_VERSION == 1.10 ]]; then golint .; fi"
  20. sudo: false