Skip to content
Permalink
Browse files

Merge pull request #10 from appleboy/go.13

chore: upgrade to go1.13
  • Loading branch information...
Depado committed Sep 9, 2019
2 parents 386060d + 8133f99 commit 0aa21caf1babf8c37db17ff9311e42c4bcff55c3
Showing with 5 additions and 9 deletions.
  1. +5 −9 .drone.yml
@@ -9,25 +9,21 @@ steps:
- git fetch --tags

- name: test
image: golang:latest
image: golang:1.13
volumes:
- name: deps
path: /go
commands:
- go test -race -coverprofile=coverage.txt -covermode=atomic
environment:
GO111MODULE: "on"

- name: linter
image: golang:latest
image: golang:1.13
volumes:
- name: deps
path: /go
commands:
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.17.1
- ./bin/golangci-lint run
environment:
GO111MODULE: "on"

- name: coverage
image: plugins/codecov
@@ -45,8 +41,8 @@ steps:
token:
from_secret: telegram_token
message: >
*{{repo.name}}*
[Build {{build.number}}]({{build.link}}) by {{commit.author}} {{#success build.status}}succeeded{{else}}failed{{/success}} in {{buildtime build.started}}
*{{repo.name}}*
[Build {{build.number}}]({{build.link}}) by {{commit.author}} {{#success build.status}}succeeded{{else}}failed{{/success}} in {{buildtime build.started}}
`{{truncate commit.sha 8}}`: "{{commit.message}}"
when:
status:
@@ -56,4 +52,4 @@ steps:
volumes:
- name: deps
host:
path: /var/lib/cache/godeps/
path: /var/lib/cache/godeps/

0 comments on commit 0aa21ca

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