Use a simple standard drone config

This commit is contained in:
Thomas Boerger 2019-08-01 01:07:15 +02:00
parent ae411a1b98
commit d5fd5d77c7
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B
1 changed files with 4 additions and 10 deletions

View File

@ -8,23 +8,17 @@ platform:
steps:
- name: vet
pull: always
image: golang:1.11
image: golang:1.12
commands:
- go vet ./...
environment:
GO111MODULE: on
volumes:
- name: gopath
path: /go
- name: test
pull: always
image: golang:1.11
image: golang:1.12
commands:
- go test -cover ./...
environment:
GO111MODULE: on
volumes:
- name: gopath
path: /go
@ -36,5 +30,5 @@ volumes:
trigger:
ref:
- refs/heads/master
- "refs/tags/**"
- "refs/pull/**"
- refs/tags/**
- refs/pull/**