add drone support #2

Merged
lunny merged 2 commits from :lunny/add_drone into master 2019-08-05 03:19:21 +00:00
Showing only changes of commit e6375b7286 - Show all commits

View File

@ -1,9 +1,24 @@
kind: pipeline
name: default
name: go1-1-1
steps:
- name: test
image: golang:1.11
Review

GOPROXY env var?

GOPROXY env var?
Review

done.

done.
environment:
GOPROXY: https://goproxy.cn
commands:
- go build -v
- go test -v -race -coverprofile=coverage.txt -covermode=atomic
---
kind: pipeline
name: go1-1-2
steps:
- name: test
image: golang:1.12
environment:
GOPROXY: https://goproxy.cn
commands:
- go build -v
- go test -v -race -coverprofile=coverage.txt -covermode=atomic