hotime/vendor/github.com/go-pay/gopay/.drone.yml

41 lines
591 B
YAML
Raw Permalink Normal View History

2022-05-24 05:49:25 +00:00
kind: pipeline
type: docker
name: gopay
clone:
depth: 1
platform:
os: linux
arch: amd64
steps:
- name: helloworld
pull: if-not-exists
image: hello-world
- name: ci_1.16
pull: if-not-exists
image: golang:1.16
environment:
GO111MODULE: "on"
GOPROXY: "https://goproxy.cn,direct"
GOSUMDB: "off"
CGO_ENABLED: "0"
GOOS: "linux"
depends_on:
- helloworld
commands:
- go version
- go env
- go mod tidy
- go test ./...
trigger:
branch:
- main
event:
- push
- pull_request
- tag