jsonnet-bundler/.drone.yml

76 lines
1.2 KiB
YAML
Raw Permalink Normal View History

kind: pipeline
name: default
platform:
arch: amd64
2022-06-22 16:26:42 +02:00
os: linux
steps:
2022-06-22 16:26:42 +02:00
- commands:
- go mod vendor
- git diff --exit-code
environment:
2022-06-22 16:26:42 +02:00
CGO_ENABLED: "0"
GO111MODULE: "on"
image: golang:latest
name: gomod
pull: always
when:
event:
exclude:
- tag
2022-06-22 16:26:42 +02:00
- commands:
2019-11-10 13:44:10 +01:00
- make build
- make test
- make test-integration
environment:
2022-06-22 16:26:42 +02:00
CGO_ENABLED: "0"
GO111MODULE: "on"
image: golang:1.16
name: build-1.16
pull: always
2019-11-10 13:44:10 +01:00
when:
event:
exclude:
- tag
2022-06-22 16:26:42 +02:00
- commands:
2019-11-10 13:44:10 +01:00
- make build
- make test
- make test-integration
environment:
2022-06-22 16:26:42 +02:00
CGO_ENABLED: "0"
GO111MODULE: "on"
image: golang:1.17
name: build-1.17
pull: always
2019-11-10 13:44:10 +01:00
when:
event:
exclude:
- tag
2022-06-22 16:26:42 +02:00
- commands:
2020-02-10 10:17:29 +01:00
- make build
- make test
- make test-integration
environment:
2022-06-22 16:26:42 +02:00
CGO_ENABLED: "0"
GO111MODULE: "on"
image: golang:1.18
name: build-1.18
pull: always
2020-02-10 10:17:29 +01:00
when:
event:
exclude:
- tag
2022-06-22 16:26:42 +02:00
- commands:
2019-11-10 13:44:10 +01:00
- make check-license
- make generate
- git diff --exit-code
environment:
2022-06-22 16:26:42 +02:00
CGO_ENABLED: "0"
GO111MODULE: "on"
image: golang:latest
name: generate
pull: always
2019-11-10 13:44:10 +01:00
when:
event:
exclude:
- tag