Bump golang versions for tests and benchmarks.
This commit is contained in:
parent
dd0bf0e5b0
commit
63ea258bba
16
.drone.yml
16
.drone.yml
@ -23,7 +23,7 @@ steps:
|
||||
- notify-start
|
||||
|
||||
- name: test
|
||||
image: golang:1.13.4-alpine
|
||||
image: golang:1.13.5-alpine
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
commands:
|
||||
@ -32,14 +32,14 @@ steps:
|
||||
- notify-start
|
||||
|
||||
- name: test-race
|
||||
image: golang:1.13.4-stretch
|
||||
image: golang:1.13.5-stretch
|
||||
commands:
|
||||
- go test -race -test.v ./...
|
||||
depends_on:
|
||||
- notify-start
|
||||
|
||||
- name: benchmark
|
||||
image: golang:1.13.4-alpine
|
||||
image: golang:1.13.5-alpine
|
||||
environment:
|
||||
CGO_ENABLED: 0
|
||||
commands:
|
||||
@ -48,7 +48,7 @@ steps:
|
||||
- notify-start
|
||||
|
||||
- name: benchmark-race
|
||||
image: golang:1.13.4-stretch
|
||||
image: golang:1.13.5-stretch
|
||||
commands:
|
||||
- go test -benchmem -run=^$ go.dev.pztrn.name/valiwork -race -bench .
|
||||
depends_on:
|
||||
@ -57,8 +57,8 @@ steps:
|
||||
- name: notify-end
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
- failure
|
||||
- success
|
||||
- failure
|
||||
image: pztrn/discordrone
|
||||
settings:
|
||||
webhook_id:
|
||||
@ -67,9 +67,9 @@ steps:
|
||||
from_secret: discord_webhook_secret
|
||||
message: "
|
||||
{{#success build.status}}
|
||||
**{{repo.name}}#{{build.number}}@{{commit.sha}}** tested, benchmarked and linted successfully.
|
||||
**{{repo.name}}#{{build.number}}@{{commit.sha}}** tested, benchmarked and linted successfully.
|
||||
{{ else }}
|
||||
**{{repo.name}}#{{build.number}}@{{commit.sha}}** failed. See {{build.link}}.
|
||||
**{{repo.name}}#{{build.number}}@{{commit.sha}}** failed. See {{build.link}}.
|
||||
{{/success}}"
|
||||
depends_on:
|
||||
- benchmark
|
||||
|
Loading…
Reference in New Issue
Block a user