Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use go 1.12 for tests and deprecate go 1.9 #6186

Merged
merged 4 commits into from
Feb 26, 2019
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pipeline:
event: [ push, tag, pull_request ]

build-without-gcc:
image: golang:1.9
image: golang:1.10
techknowlogick marked this conversation as resolved.
Show resolved Hide resolved
pull: true
commands:
- go build -o gitea_no_gcc # test if build succeeds without the sqlite tag
Expand All @@ -83,7 +83,7 @@ pipeline:
event: [ push, tag, pull_request ]

test:
image: golang:1.11
image: golang:1.12
pull: true
group: test
environment:
Expand All @@ -95,7 +95,7 @@ pipeline:
branch: [ master ]

test:
image: golang:1.11
image: golang:1.12
pull: true
group: test
environment:
Expand All @@ -107,7 +107,7 @@ pipeline:
branch: [ release/* ]

test:
image: golang:1.11
image: golang:1.12
pull: true
group: test
environment:
Expand All @@ -118,7 +118,7 @@ pipeline:
event: [ tag ]

test-sqlite:
image: golang:1.11
image: golang:1.12
pull: true
group: test
environment:
Expand All @@ -133,7 +133,7 @@ pipeline:
event: [ push, tag, pull_request ]

test-mysql:
image: golang:1.11
image: golang:1.12
pull: true
group: test
environment:
Expand All @@ -149,7 +149,7 @@ pipeline:
branch: [ master ]

test-mysql:
image: golang:1.11
image: golang:1.12
pull: true
group: test
environment:
Expand All @@ -165,7 +165,7 @@ pipeline:
event: [ tag ]

test-pgsql:
image: golang:1.11
image: golang:1.12
pull: true
group: test
environment:
Expand All @@ -181,7 +181,7 @@ pipeline:
event: [ push, tag, pull_request ]

test-mssql:
image: golang:1.11
image: golang:1.12
pull: true
group: test
environment:
Expand All @@ -196,7 +196,7 @@ pipeline:
event: [ push, tag, pull_request ]

bench-sqlite:
image: golang:1.11
image: golang:1.12
pull: true
group: bench
commands:
Expand All @@ -205,7 +205,7 @@ pipeline:
event: [ tag ]

bench-mysql:
image: golang:1.11
image: golang:1.12
pull: true
group: bench
commands:
Expand All @@ -214,7 +214,7 @@ pipeline:
event: [ tag ]

bench-mssql:
image: golang:1.11
image: golang:1.12
pull: true
group: bench
commands:
Expand All @@ -223,7 +223,7 @@ pipeline:
event: [ tag ]

bench-pgsql:
image: golang:1.11
image: golang:1.12
pull: true
group: bench
commands:
Expand All @@ -232,7 +232,7 @@ pipeline:
event: [ tag ]

generate-coverage:
image: golang:1.11
image: golang:1.12
pull: true
environment:
TAGS: bindata
Expand Down