Fixed enabling go modules for cross-platform

This commit is contained in:
konrad 2019-04-27 11:24:47 +02:00
parent 7e38937efc
commit 44223bde77
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -152,7 +152,7 @@ steps:
image: techknowlogick/xgo:latest
pull: true
environment:
GOPATH: /srv/app
GO111MODULE: on
commands:
- export PATH=$PATH:$GOPATH/bin
- make release-windows
@ -162,7 +162,7 @@ steps:
image: techknowlogick/xgo:latest
pull: true
environment:
GOPATH: /srv/app
GO111MODULE: on
commands:
- export PATH=$PATH:$GOPATH/bin
- make release-linux
@ -172,7 +172,7 @@ steps:
image: techknowlogick/xgo:latest
pull: true
environment:
GOPATH: /srv/app
GO111MODULE: on
commands:
- export PATH=$PATH:$GOPATH/bin
- make release-darwin
@ -343,8 +343,9 @@ steps:
image: techknowlogick/xgo:latest
pull: true
environment:
GOPATH: /srv/app
GO111MODULE: on
commands:
- export PATH=$PATH:$GOPATH/bin
- make release-windows
depends_on: [ before-static-build ]
@ -352,8 +353,9 @@ steps:
image: techknowlogick/xgo:latest
pull: true
environment:
GOPATH: /srv/app
GO111MODULE: on
commands:
- export PATH=$PATH:$GOPATH/bin
- make release-linux
depends_on: [ before-static-build ]
@ -361,8 +363,9 @@ steps:
image: techknowlogick/xgo:latest
pull: true
environment:
GOPATH: /srv/app
GO111MODULE: on
commands:
- export PATH=$PATH:$GOPATH/bin
- make release-darwin
depends_on: [ before-static-build ]