mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 02:10:21 +00:00
34fc1d847e
to v1.18.0 Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
26 lines
683 B
YAML
26 lines
683 B
YAML
language: go
|
|
go:
|
|
- 1.12.x
|
|
- 1.13.x
|
|
- tip
|
|
|
|
cache:
|
|
directories:
|
|
- $GOPATH/pkg/mod
|
|
|
|
# allow internal package imports, necessary for forked repositories
|
|
go_import_path: github.com/onsi/ginkgo
|
|
|
|
install:
|
|
- 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
|
|
- export PATH=$PATH:$HOME/gopath/bin
|
|
|
|
script:
|
|
- GO111MODULE="on" go mod tidy
|
|
- diff -u <(echo -n) <(git diff go.mod)
|
|
- diff -u <(echo -n) <(git diff go.sum)
|
|
- $HOME/gopath/bin/ginkgo -r --randomizeAllSpecs --randomizeSuites --race --trace && go vet
|