File tree 3 files changed +16
-9
lines changed
3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,13 @@ go_import_path: github.com/arangodb/kube-arangodb
8
8
env :
9
9
- GO111MODULES=off
10
10
11
- install :
12
- - make init
13
-
14
11
script :
15
- - make license-verify license-range-verify fmt-verify linter
16
- - make run-unit-tests
17
- - make bin
12
+ - |
13
+ if [ "$TRAVIS_PULL_REQUEST" != "false" ] || [ ! -z "$ALWAYS" ]; then
14
+ make init
15
+ make license-verify license-range-verify fmt-verify linter
16
+ make run-unit-tests
17
+ make bin
18
+ else
19
+ make vendor tools-min fmt-verify linter
20
+ fi
Original file line number Diff line number Diff line change 8
8
- (Feature) SilentRotation High plan
9
9
- (Improvement) Update arangosync-client package for new API capabilities and better HTTP handling
10
10
- (Maintenance) Fix generated license dates
11
+ - (Improvement) Reduce CI on Commit Travis runs
11
12
12
13
## [ 1.2.24] ( https://github.com/arangodb/kube-arangodb/tree/1.2.24 ) (2023-01-25)
13
14
- (Bugfix) Fix deployment creation on ARM64
Original file line number Diff line number Diff line change @@ -493,16 +493,19 @@ tidy:
493
493
deps-reload : tidy init
494
494
495
495
.PHONY : init
496
- init : tools update-generated $(BIN ) vendor
496
+ init : vendor tools update-generated $(BIN )
497
497
498
- .PHONY : tools
499
- tools : update-vendor
498
+ .PHONY : tools-min
499
+ tools-min : update-vendor
500
500
@echo " >> Fetching golangci-lint linter"
501
501
@GOBIN=
$(GOPATH ) /bin go install github.com/golangci/golangci-lint/cmd/
[email protected]
502
502
@echo " >> Fetching goimports"
503
503
@GOBIN=$(GOPATH ) /bin go install golang.org/x/tools/cmd/goimports@0bb7e5c47b1a31f85d4f173edc878a8e049764a5
504
504
@echo " >> Fetching license check"
505
505
@GOBIN=$(GOPATH ) /bin go install github.com/google/addlicense@6d92264d717064f28b32464f0f9693a5b4ef0239
506
+
507
+ .PHONY : tools
508
+ tools : tools-min
506
509
@echo " >> Fetching gci"
507
510
@GOBIN=
$(GOPATH ) /bin go install github.com/daixiang0/
[email protected]
508
511
@echo " >> Downloading protobuf compiler..."
You can’t perform that action at this time.
0 commit comments