2020-02-17 12:15:57 +00:00
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- tip
|
2021-06-04 08:59:18 +00:00
|
|
|
- 1.16.x
|
|
|
|
- 1.15.x
|
2020-02-17 12:15:57 +00:00
|
|
|
|
2020-04-14 07:04:33 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $GOPATH/pkg/mod
|
|
|
|
|
2020-02-17 12:15:57 +00:00
|
|
|
# allow internal package imports, necessary for forked repositories
|
|
|
|
go_import_path: github.com/onsi/ginkgo
|
|
|
|
|
|
|
|
install:
|
2020-04-14 07:04:33 +00:00
|
|
|
- GO111MODULE="off" go get -v -t ./...
|
|
|
|
- GO111MODULE="off" go get golang.org/x/tools/cmd/cover
|
|
|
|
- GO111MODULE="off" go get github.com/onsi/gomega
|
|
|
|
- GO111MODULE="off" go install github.com/onsi/ginkgo/ginkgo
|
2021-06-04 08:59:18 +00:00
|
|
|
- export PATH=$GOPATH/bin:$PATH
|
2020-02-17 12:15:57 +00:00
|
|
|
|
2020-04-14 07:04:33 +00:00
|
|
|
script:
|
2021-06-04 08:59:18 +00:00
|
|
|
- GO111MODULE="on" go mod tidy && git diff --exit-code go.mod go.sum
|
|
|
|
- go vet
|
|
|
|
- ginkgo -r --randomizeAllSpecs --randomizeSuites --race --trace
|