File tree 1 file changed +3
-12
lines changed
1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
3
3
go :
4
- - 1.11 .x
4
+ - 1.12 .x
5
5
6
6
env :
7
- - DEP_VERSION="0.5.0"
7
+ - GO111MODULE=on
8
8
9
9
# Anything in before_script that returns a nonzero exit code will flunk the
10
10
# build and immediately stop. It's sorta like having set -e enabled in bash.
@@ -13,14 +13,8 @@ before_install:
13
13
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.10.2
14
14
# Download the binary to bin folder in $GOPATH
15
15
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
16
- # Make the binary executable
17
- - chmod +x $GOPATH/bin/dep
18
16
19
- install :
20
- # Check the dependency, -skip-lock may be useful because the version are not fixed but depends
21
- # from the branch master of the libraries so they change very often
22
- - dep check -skip-vendor
23
- - dep ensure
17
+ install : true
24
18
25
19
script :
26
20
# Check if the code is formatted
@@ -34,6 +28,3 @@ script:
34
28
after_success :
35
29
- bash <(curl -s https://codecov.io/bash)
36
30
37
- cache :
38
- directories :
39
- - $GOPATH/pkg/dep
You can’t perform that action at this time.
0 commit comments