File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -15,23 +15,38 @@ jobs:
15
15
include :
16
16
- os : linux
17
17
name : " checks"
18
+ env :
19
+ - STATICCHECK_CACHE=$HOME/linting
18
20
script :
19
21
- make checks
22
+ cache :
23
+ directories :
24
+ - $STATICCHECK_CACHE
25
+ - $HOME/.cache/go-build
20
26
- os : linux
21
27
name : " Linux unit"
22
28
script :
23
29
- make coverage
30
+ cache :
31
+ directories :
32
+ - $HOME/.cache/go-build
24
33
- os : osx
25
34
name : " OSX unit"
26
35
script :
27
36
- make quicktest
37
+ cache :
38
+ directories :
39
+ - $HOME/.cache/go-build
28
40
- os : windows
29
41
name : " Windows unit"
30
42
env :
31
43
- GO111MODULE=on
32
44
- GOFLAGS="-mod=vendor"
33
45
script :
34
46
- go test -short -timeout 60s ./...
47
+ cache :
48
+ directories :
49
+ - C:\\Users\\travis\\AppData\\Local\\go-build
35
50
- os : linux
36
51
name : " integration"
37
52
language : minimal
You can’t perform that action at this time.
0 commit comments