本站源代码
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.

31 lines
680B

  1. sudo: false
  2. language: go
  3. go:
  4. - 1.5.4
  5. - 1.6.2
  6. - tip
  7. matrix:
  8. include:
  9. - go: 1.2.2
  10. script:
  11. - go get -t -v ./...
  12. - go test -v -race ./...
  13. - go: 1.3.3
  14. script:
  15. - go get -t -v ./...
  16. - go test -v -race ./...
  17. - go: 1.4.3
  18. script:
  19. - go get -t -v ./...
  20. - go test -v -race ./...
  21. allow_failures:
  22. - go: tip
  23. fast_finish: true
  24. install:
  25. - # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
  26. script:
  27. - go get -t -v ./...
  28. - diff -u <(echo -n) <(gofmt -d -s .)
  29. - go tool vet .
  30. - go test -v -race ./...
上海开阖软件有限公司 沪ICP备12045867号-1