Skip to content

Commit

Permalink
Merge pull request #10 from appleboy/go.13
Browse files Browse the repository at this point in the history
chore: upgrade to go1.13
  • Loading branch information
Depado committed Sep 9, 2019
2 parents 386060d + 8133f99 commit 0aa21ca
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .drone.yml
Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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.