File tree Expand file tree Collapse file tree 6 files changed +220
-9
lines changed Expand file tree Collapse file tree 6 files changed +220
-9
lines changed Original file line number Diff line number Diff line change 4
4
- 1.11.x
5
5
- 1.12.x
6
6
7
- before_script :
8
- - go get github.com/valyala/quicktemplate
9
-
10
7
script : make check_generated test
11
8
12
9
after_success :
Original file line number Diff line number Diff line change
1
+ export GO111MODULE = on
2
+
1
3
test : build
2
4
GL_TEST_RUN=1 ./golangci-lint run -v
3
5
GL_TEST_RUN=1 ./golangci-lint run --fast --no-config -v --skip-dirs ' test/testdata_etc,pkg/golinters/goanalysis/(checker|passes)'
4
6
GL_TEST_RUN=1 ./golangci-lint run --no-config -v --skip-dirs ' test/testdata_etc,pkg/golinters/goanalysis/(checker|passes)'
5
7
GL_TEST_RUN=1 go test -v ./...
8
+ cd test && GL_TEST_RUN=1 go test -v ./...
6
9
7
10
build :
8
11
go build -o golangci-lint ./cmd/golangci-lint
@@ -31,9 +34,9 @@ release:
31
34
curl -sL https://git.io/goreleaser | bash
32
35
33
36
update_deps :
34
- GO111MODULE=on go mod verify
35
- GO111MODULE=on go mod tidy
37
+ go mod verify
38
+ go mod tidy
36
39
rm -rf vendor
37
- GO111MODULE=on go mod vendor
40
+ go mod vendor
38
41
39
42
.PHONY : test
Original file line number Diff line number Diff line change
1
+ module github.com/golangci/golangci-lint/test
2
+
3
+ replace github.com/golangci/golangci-lint => ../
4
+
5
+ require (
6
+ github.com/golangci/golangci-lint v0.0.0-00010101000000-000000000000
7
+ github.com/mitchellh/go-ps v0.0.0-20170309133038-4fdf99ab2936
8
+ github.com/shirou/gopsutil v2.18.12+incompatible
9
+ github.com/stretchr/testify v1.3.0
10
+ github.com/valyala/quicktemplate v1.1.1
11
+ gopkg.in/yaml.v2 v2.2.2
12
+ )
You can’t perform that action at this time.
0 commit comments