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.
 
 
 

25 lines
365 B

  1. language: go
  2. matrix:
  3. include:
  4. - go: 1.7.x
  5. - go: 1.8.x
  6. - go: 1.9.x
  7. - go: 1.10.x
  8. - go: 1.11.x
  9. - go: 1.x
  10. env: LATEST=true
  11. - go: tip
  12. allow_failures:
  13. - go: tip
  14. install:
  15. - # Skip
  16. script:
  17. - go get -t -v ./...
  18. - diff -u <(echo -n) <(gofmt -d .)
  19. - if [[ "$LATEST" = true ]]; then go vet .; fi
  20. - go test -v -race ./...