.travis.yml 493 B

12345678910111213141516
  1. language: go
  2. before_install:
  3. - mkdir /tmp/go1.12
  4. - curl -L -s https://dl.google.com/go/go1.12.linux-amd64.tar.gz | tar -zxf - -C /tmp/go1.12 --strip-components 1
  5. - unset GOROOT
  6. - (GO111MODULE=on /tmp/go1.12/bin/go mod vendor)
  7. matrix:
  8. include:
  9. - go: 1.9.x
  10. script: go test -tags protolegacy -v ./...
  11. - go: 1.10.x
  12. script: go test -tags protolegacy -v ./...
  13. - go: 1.11.x
  14. script: go test -tags protolegacy -v ./...
  15. - go: 1.12.x
  16. script: ./test.bash