summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-07-07 11:00:41 +0800
committertechknowlogick <techknowlogick@gitea.io>2019-07-06 23:00:41 -0400
commit87404d7c0b0ff42be73398c86f5356959dc7b632 (patch)
treea712de060c38c049e4ce418337158ea357fa42cc /.drone.yml
parentf369788347167a47a8fc162e086b92048ff0a43f (diff)
downloadgitea-87404d7c0b0ff42be73398c86f5356959dc7b632.tar.gz
gitea-87404d7c0b0ff42be73398c86f5356959dc7b632.zip
Use vendors when go generate (#7340)
* use vendors when go generate * update docs about golang minimal requirement from 1.9 to 1.11 * fix build
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.drone.yml b/.drone.yml
index 9c07599940..086b5cd2b5 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -63,9 +63,11 @@ steps:
- name: build-without-gcc
pull: always
- image: golang:1.10 # this step is kept as the lowest version of golang that we support
+ image: golang:1.11 # this step is kept as the lowest version of golang that we support
+ environment:
+ GO111MODULE: on
commands:
- - go build -o gitea_no_gcc # test if build succeeds without the sqlite tag
+ - go build -mod=vendor -o gitea_no_gcc # test if build succeeds without the sqlite tag
- name: build
pull: always