1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-31 22:58:35 +00:00

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
This commit is contained in:
Lunny Xiao
2019-07-07 11:00:41 +08:00
committed by techknowlogick
parent f369788347
commit 87404d7c0b
4 changed files with 7 additions and 5 deletions

View File

@@ -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