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.

24 lines
616 B

  1. language: go
  2. go:
  3. - tip
  4. - 1.16.x
  5. - 1.15.x
  6. cache:
  7. directories:
  8. - $GOPATH/pkg/mod
  9. # allow internal package imports, necessary for forked repositories
  10. go_import_path: github.com/onsi/ginkgo
  11. install:
  12. - GO111MODULE="off" go get -v -t ./...
  13. - GO111MODULE="off" go get golang.org/x/tools/cmd/cover
  14. - GO111MODULE="off" go get github.com/onsi/gomega
  15. - GO111MODULE="off" go install github.com/onsi/ginkgo/ginkgo
  16. - export PATH=$GOPATH/bin:$PATH
  17. script:
  18. - GO111MODULE="on" go mod tidy && git diff --exit-code go.mod go.sum
  19. - go vet
  20. - ginkgo -r --randomizeAllSpecs --randomizeSuites --race --trace