Add Drone CI config

master
Vladimir Hodakov 2019-10-19 02:21:05 +04:00
parent 92ee8ccf5e
commit 5ffb0ebf53
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6
1 changed files with 24 additions and 0 deletions

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
kind: pipeline
type: docker
name: build
steps:
- name: lint
image: golangci/golangci-lint:latest
environment:
CGO_ENABLED: 0
commands:
- golangci-lint run
- name: test-1.13
image: golang:1.13.1-alpine
environment:
CGO_ENABLED: 0
commands:
- go test -cover -test.v .
- name: test-1.12
image: golang:1.12.10-alpine
environment:
CGO_ENABLED: 0
GO111MODULE: on
commands:
- go test -cover -test.v .