1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-23 11:14:48 +02:00

Fix CircleCI; Bump Go version in CircleCI

This commit is contained in:
DarthSim 2019-09-16 16:45:47 +06:00
parent f7aede3b6c
commit aab48b0e76

View File

@ -8,8 +8,26 @@ workflows:
- lint:
requires:
- checkout_code
go_version: "1.12"
go_version: "1.13"
vips_version: "8.8"
- build:
name: go1.13_vips8.8
requires:
- checkout_code
go_version: "1.13"
vips_version: "8.8"
- build:
name: go1.13_vips8.7
requires:
- checkout_code
go_version: "1.13"
vips_version: "8.7"
- build:
name: go1.13_vips8.6
requires:
- checkout_code
go_version: "1.13"
vips_version: "8.6"
- build:
name: go1.12_vips8.8
requires:
@ -46,24 +64,6 @@ workflows:
- checkout_code
go_version: "1.11"
vips_version: "8.6"
- build:
name: go1.10_vips8.8
requires:
- checkout_code
go_version: "1.10"
vips_version: "8.8"
- build:
name: go1.10_vips8.7
requires:
- checkout_code
go_version: "1.10"
vips_version: "8.7"
- build:
name: go1.10_vips8.6
requires:
- checkout_code
go_version: "1.10"
vips_version: "8.6"
executors:
imgproxy:
@ -95,6 +95,7 @@ commands:
command: |
gvm install go<< parameters.go_version >> -B
gvm use go<< parameters.go_version >> --default
echo 'export GO111MODULE=on' >> $BASH_ENV
echo 'export GOPATH=/go' >> $BASH_ENV
echo 'export PATH="$PATH:$(go env GOPATH)/bin"' >> $BASH_ENV
echo 'export CGO_LDFLAGS_ALLOW="-s|-w"' >> $BASH_ENV