Skip to content
Permalink
Browse files

chore: upgrade to go1.13

  • Loading branch information...
appleboy committed Sep 9, 2019
1 parent b8dd5fd commit 8133f9912c6f7e37851a867a50f37f08a43dd606
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 8133f99

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