File tree Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Original file line number Diff line number Diff line change 5
5
- $HOME/.cache/go-build
6
6
- $GOPATH/pkg/mod
7
7
8
- os : linux
8
+ os :
9
+ - linux
10
+ - osx
9
11
10
12
go :
11
13
- " 1.13"
12
14
13
- # A build matrix defines the K8s versions to use for e2e tests. Travis runs these in parallel
14
- env :
15
- - KIND_K8S_VERSION="v1.16.2"
16
- - KIND_K8S_VERSION="v1.15.3"
17
- - KIND_K8S_VERSION="v1.14.1"
18
-
19
15
git :
20
16
depth : 3
21
17
@@ -28,38 +24,22 @@ services: docker
28
24
# we don't need to fetch them.
29
25
install : skip
30
26
31
- before_script : PATH=$PATH:$(pwd)
32
-
33
- script : ./test_e2e.sh
27
+ script : ./test.sh
34
28
35
29
jobs :
36
30
include :
37
31
- stage : linting
38
- env :
39
32
before_script : curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.21.0
40
33
script : ./scripts/verify.sh
41
34
42
35
- stage : golden
43
36
# The golden_test.sh check if the the testdata is updated according to the current changes
44
37
# To update the testdata use the Makefile targets `make generate-setup` then `make generate-testdata`
45
- env :
46
- before_script : skip
47
38
script : ./golden_test.sh
48
39
49
- - stage : local
50
- env :
51
- before_script : skip
52
- script : ./test.sh
53
- - stage : local
54
- os : osx
55
- env :
56
- before_script : skip
57
- script : ./test.sh
58
-
59
40
- stage : coverage
60
- # The following module is used to integrate the projct with goveralls .io. It allow us to easily sent the data.
41
+ # The following module is used to integrate the project with coveralls .io. It allow us to easily sent the data.
61
42
# More info: https://github.com/mattn/goveralls
62
- env :
63
43
before_script :
go get github.com/mattn/[email protected]
64
44
script :
65
45
- make test-coverage
68
48
stages :
69
49
- linting
70
50
- golden
71
- - local
72
51
- test
73
52
- coverage
74
53
You can’t perform that action at this time.
0 commit comments