Skip to content
Permalink
Browse files

Drone 1.0

  • Loading branch information...
Depado committed Nov 8, 2018
1 parent 1b0dd0c commit 2d3b0ef6aa37ad05dbe3aaf8111f4b4b85ad7e4e
Showing with 24 additions and 19 deletions.
  1. +24 −19 .drone.yml
@@ -1,21 +1,26 @@
workspace:
base: /go
path: src/github.com/Depado/bfchroma/
---
kind: pipeline
name: default

pipeline:
# Dep and vendoring
prerequisites:
image: golang:1.9
commands:
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
steps:
- name: prerequisites
image: golang:latest
pull: true
commands:
- go get -u github.com/golang/dep/cmd/dep
- dep ensure
environment:
GO111MODULE: "off"

# Test
test:
image: golang:1.9
commands:
- go test -race -coverprofile=coverage.txt -covermode=atomic

codecov:
image: robertstettner/drone-codecov
secrets: [ codecov_token ]
- name: test
image: golang:latest
commands:
- go test -race -coverprofile=coverage.txt -covermode=atomic
environment:
GO111MODULE: "off"

- name: codecov
image: robertstettner/drone-codecov
settings:
codecov_token:
from_secret: codecov_token

0 comments on commit 2d3b0ef

Please sign in to comment.
You can’t perform that action at this time.