Skip to content

Commit

Permalink
Drone 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Lhussiez committed Nov 8, 2018
1 parent 1b0dd0c commit 2d3b0ef
Showing 1 changed file with 24 additions and 19 deletions.
43 changes: 24 additions & 19 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -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.