diff --git a/.drone.yml b/.drone.yml index 85a3386..5415c42 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,13 +1,12 @@ pipeline: build: - image: golang:1.5 - environment: - - GO15VENDOREXPERIMENT=1 - - CGO_ENABLED=0 + image: ${IMAGE} commands: - - go test -cover -coverprofile coverage.out + - go build + - go test - publish: - coverage: - when: - branch: master +matrix: + IMAGE: + - golang:1.7 + - golang:1.8 + - golang:latest