From 63ea258bbab122c7174ccf8515a04d84c8f7f1dd Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Sun, 22 Dec 2019 02:07:08 +0500 Subject: [PATCH] Bump golang versions for tests and benchmarks. --- .drone.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index 429eabc..2e439b9 100644 --- a/.drone.yml +++ b/.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,33 +32,33 @@ 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: - - go test -benchmem -run=^$ go.dev.pztrn.name/valiwork -bench . + - go test -benchmem -run=^$ go.dev.pztrn.name/valiwork -bench . depends_on: - 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 . + - go test -benchmem -run=^$ go.dev.pztrn.name/valiwork -race -bench . depends_on: - notify-start - name: notify-end when: status: - - success - - failure + - success + - failure image: pztrn/discordrone settings: webhook_id: @@ -67,13 +67,13 @@ 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 - benchmark-race - lint - test - - test-race \ No newline at end of file + - test-race