File: .travis.yml

package info (click to toggle)
golang-ginkgo 1.14.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,772 kB
  • sloc: makefile: 5
file content (25 lines) | stat: -rw-r--r-- 683 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: go
go:
  - 1.13.x
  - 1.14.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