Add basic Drone-CI pipeline

This commit is contained in:
Vitaly Pashkov 2019-10-30 10:54:36 +00:00
parent 1cd67d17fa
commit c46535bdf7
1 changed files with 28 additions and 0 deletions

28
.drone.yml Normal file
View File

@ -0,0 +1,28 @@
---
kind: pipeline
type: docker
name: linux-amd64
platform:
arch: amd64
os: linux
steps:
- name: build
image: golang
environment:
GOOS: linux
GOARCH: amd64
commands:
- go build
- name: share_master_build
image: golang
commands:
- mkdir -p /shared/iplistget
- cp iplistget /shared/iplistget/iplistget_master
when:
branch:
- master
event:
- push