Bump golang versions for tests and benchmarks.

This commit is contained in:
Stanislav Nikitin 2019-12-22 02:07:08 +05:00
parent dd0bf0e5b0
commit 63ea258bba

View File

@ -23,7 +23,7 @@ steps:
- notify-start - notify-start
- name: test - name: test
image: golang:1.13.4-alpine image: golang:1.13.5-alpine
environment: environment:
CGO_ENABLED: 0 CGO_ENABLED: 0
commands: commands:
@ -32,33 +32,33 @@ steps:
- notify-start - notify-start
- name: test-race - name: test-race
image: golang:1.13.4-stretch image: golang:1.13.5-stretch
commands: commands:
- go test -race -test.v ./... - go test -race -test.v ./...
depends_on: depends_on:
- notify-start - notify-start
- name: benchmark - name: benchmark
image: golang:1.13.4-alpine image: golang:1.13.5-alpine
environment: environment:
CGO_ENABLED: 0 CGO_ENABLED: 0
commands: commands:
- go test -benchmem -run=^$ go.dev.pztrn.name/valiwork -bench . - go test -benchmem -run=^$ go.dev.pztrn.name/valiwork -bench .
depends_on: depends_on:
- notify-start - notify-start
- name: benchmark-race - name: benchmark-race
image: golang:1.13.4-stretch image: golang:1.13.5-stretch
commands: commands:
- go test -benchmem -run=^$ go.dev.pztrn.name/valiwork -race -bench . - go test -benchmem -run=^$ go.dev.pztrn.name/valiwork -race -bench .
depends_on: depends_on:
- notify-start - notify-start
- name: notify-end - name: notify-end
when: when:
status: status:
- success - success
- failure - failure
image: pztrn/discordrone image: pztrn/discordrone
settings: settings:
webhook_id: webhook_id:
@ -67,13 +67,13 @@ steps:
from_secret: discord_webhook_secret from_secret: discord_webhook_secret
message: " message: "
{{#success build.status}} {{#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 }} {{ else }}
**{{repo.name}}#{{build.number}}@{{commit.sha}}** failed. See {{build.link}}. **{{repo.name}}#{{build.number}}@{{commit.sha}}** failed. See {{build.link}}.
{{/success}}" {{/success}}"
depends_on: depends_on:
- benchmark - benchmark
- benchmark-race - benchmark-race
- lint - lint
- test - test
- test-race - test-race