.travis.yml 439 B

1234567891011121314151617181920212223242526
  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. matrix:
  12. allow_failures:
  13. - go: tip
  14. before_install:
  15. - "if [[ $TRAVIS_GO_VERSION == 1.8 ]]; then go get -v github.com/golang/lint/golint; fi"
  16. script:
  17. - go test -race -cpu 1,4 -v
  18. - go test -race -v -tags appengine
  19. - "if [[ $TRAVIS_GO_VERSION == 1.8 ]]; then go vet ./...; fi"
  20. - "if [[ $TRAVIS_GO_VERSION == 1.8 ]]; then golint .; fi"
  21. sudo: false