File tree 2 files changed +4
-21
lines changed
2 files changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,10 @@ dist: bionic
3
3
4
4
language : go
5
5
6
- # Force-enable Go modules. Also force go to use the code in vendor/
7
- # The first two envs will be unnecessary when Go 1.14 lands.
8
- # LINTER_VERSION is the version of golangci-lint. See current releases
9
- # here:
10
- # https://github.com/golangci/golangci-lint/releases
11
6
env : GO111MODULE=on GOFLAGS='-mod vendor'
12
7
13
- # You don't need to test on very old versions of the Go compiler. It's the user's
14
- # responsibility to keep their compiler up to date.
15
8
go :
16
- - 1.13.x
9
+ - 1.9
17
10
18
11
# Only clone the most recent commit.
19
12
git :
@@ -27,15 +20,5 @@ install: true
27
20
notifications :
28
21
email : false
29
22
30
- # Anything in before_script that returns a nonzero exit code will flunk the
31
- # build and immediately stop. It's sorta like having set -e enabled in bash.
32
- # We can download and extract the golangci-lint binary in one (long) command.
33
- before_script :
34
- - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $GOPATH/bin v1.23.1
35
-
36
- # script always runs to completion (set +e). If we have linter issues AND a
37
- # failing test, we want to see both. Configure golangci-lint with a
38
- # .golangci.yml file at the top level of your repo.
39
23
script :
40
- - golangci-lint run # run a bunch of code checkers/linters in parallel
41
24
- go test -v -race ./... # Run all the tests with the race detector enabled
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ module github.com/gobeam/custom-validator
3
3
go 1.12
4
4
5
5
require (
6
- github.com/gin-gonic/gin v1.5.0 // indirect
7
- github.com/stvp/rollbar v0.5.1 // indirect
8
- gopkg.in/go-playground/validator.v9 v9.31.0 // indirect
6
+ github.com/gin-gonic/gin v1.5.0
7
+ github.com/stvp/rollbar v0.5.1
8
+ gopkg.in/go-playground/validator.v9 v9.31.0
9
9
)
You can’t perform that action at this time.
0 commit comments