diff options
author | techknowlogick <matti@mdranta.net> | 2019-02-26 18:07:35 -0500 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2019-02-27 07:07:35 +0800 |
commit | 1142632f1acb64b0261ee87ce89216794379245f (patch) | |
tree | 8257a64f657055b3a0030a2d0604230e9a0c2604 /.drone.yml | |
parent | 7afe81f28e530c1c5aed1583654b3d772c368fa5 (diff) | |
download | gitea-1142632f1acb64b0261ee87ce89216794379245f.tar.gz gitea-1142632f1acb64b0261ee87ce89216794379245f.zip |
Use go 1.12 for tests and deprecate go 1.9 (#6186)
Blocked until 1.12 docker images are released
Diffstat (limited to '.drone.yml')
-rw-r--r-- | .drone.yml | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/.drone.yml b/.drone.yml index 26b3304064..7fb66c2cd6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -56,7 +56,7 @@ pipeline: event: [ push, tag, pull_request ] build-without-gcc: - image: golang:1.9 + image: golang:1.10 # this step is kept as the lowest version of golang that we support pull: true commands: - go build -o gitea_no_gcc # test if build succeeds without the sqlite tag @@ -64,7 +64,7 @@ pipeline: event: [ push, tag, pull_request ] build: - image: golang:1.11 + image: golang:1.12 pull: true environment: TAGS: bindata sqlite sqlite_unlock_notify @@ -82,8 +82,8 @@ pipeline: when: event: [ push, tag, pull_request ] - test: - image: golang:1.11 + unit-test: + image: golang:1.12 pull: true group: test environment: @@ -94,8 +94,8 @@ pipeline: event: [ push, pull_request ] branch: [ master ] - test: - image: golang:1.11 + release-test: + image: golang:1.12 pull: true group: test environment: @@ -106,8 +106,8 @@ pipeline: event: [ push, pull_request ] branch: [ release/* ] - test: - image: golang:1.11 + tag-test: + image: golang:1.12 pull: true group: test environment: @@ -118,7 +118,7 @@ pipeline: event: [ tag ] test-sqlite: - image: golang:1.11 + image: golang:1.12 pull: true group: test environment: @@ -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: @@ -148,8 +148,8 @@ pipeline: event: [ push, pull_request ] branch: [ master ] - test-mysql: - image: golang:1.11 + tag-test-mysql: + image: golang:1.12 pull: true group: test environment: @@ -165,7 +165,7 @@ pipeline: event: [ tag ] test-pgsql: - image: golang:1.11 + image: golang:1.12 pull: true group: test environment: @@ -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: @@ -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: @@ -205,7 +205,7 @@ pipeline: event: [ tag ] bench-mysql: - image: golang:1.11 + image: golang:1.12 pull: true group: bench commands: @@ -214,7 +214,7 @@ pipeline: event: [ tag ] bench-mssql: - image: golang:1.11 + image: golang:1.12 pull: true group: bench commands: @@ -223,7 +223,7 @@ pipeline: event: [ tag ] bench-pgsql: - image: golang:1.11 + image: golang:1.12 pull: true group: bench commands: @@ -232,7 +232,7 @@ pipeline: event: [ tag ] generate-coverage: - image: golang:1.11 + image: golang:1.12 pull: true environment: TAGS: bindata @@ -290,7 +290,7 @@ pipeline: when: event: [ pull_request ] - docker: + release-docker: image: plugins/docker:17.12 pull: true secrets: [ docker_username, docker_password ] @@ -323,7 +323,7 @@ pipeline: when: event: [ push, tag ] - release: + tag-release: image: plugins/s3:1 pull: true secrets: [ aws_access_key_id, aws_secret_access_key ] @@ -337,7 +337,7 @@ pipeline: when: event: [ tag ] - release: + release-branch-release: image: plugins/s3:1 pull: true secrets: [ aws_access_key_id, aws_secret_access_key ] |