mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-18 05:54:47 +02:00
Fix Travis config
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
language: go
|
||||
sudo: false
|
||||
|
||||
env:
|
||||
global:
|
||||
- GO111MODULE=on
|
||||
|
||||
go:
|
||||
- 1.12.x
|
||||
- master
|
||||
|
||||
@@ -90,15 +90,11 @@ ifndef HAS_GO
|
||||
endif
|
||||
|
||||
.PHONY: go-dependencies
|
||||
HAS_DEP := $(shell which dep)
|
||||
go-dependencies: ## Ensure build dependencies
|
||||
@echo "+ $@"
|
||||
@echo "Ensure Golang runtime dependencies"
|
||||
go mod vendor -v
|
||||
|
||||
.PHONY: dep
|
||||
dep: go-dependencies ## Ensure build dependencies
|
||||
|
||||
.PHONY: build
|
||||
build: $(NAME) ## Builds a dynamic executable or package
|
||||
@echo "+ $@"
|
||||
|
||||
Reference in New Issue
Block a user