Fixed enabling go modules for cross-platform

This commit is contained in:
konrad 2019-04-27 11:41:28 +02:00
parent 44223bde77
commit a6e70f1b29
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 18 additions and 6 deletions

View File

@ -152,7 +152,9 @@ steps:
image: techknowlogick/xgo:latest
pull: true
environment:
GO111MODULE: on
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
# Leaving this here until we know how to resolve this properly.
GOPATH: /srv/app
commands:
- export PATH=$PATH:$GOPATH/bin
- make release-windows
@ -162,7 +164,9 @@ steps:
image: techknowlogick/xgo:latest
pull: true
environment:
GO111MODULE: on
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
# Leaving this here until we know how to resolve this properly.
GOPATH: /srv/app
commands:
- export PATH=$PATH:$GOPATH/bin
- make release-linux
@ -172,7 +176,9 @@ steps:
image: techknowlogick/xgo:latest
pull: true
environment:
GO111MODULE: on
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
# Leaving this here until we know how to resolve this properly.
GOPATH: /srv/app
commands:
- export PATH=$PATH:$GOPATH/bin
- make release-darwin
@ -343,7 +349,9 @@ steps:
image: techknowlogick/xgo:latest
pull: true
environment:
GO111MODULE: on
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
# Leaving this here until we know how to resolve this properly.
GOPATH: /srv/app
commands:
- export PATH=$PATH:$GOPATH/bin
- make release-windows
@ -353,7 +361,9 @@ steps:
image: techknowlogick/xgo:latest
pull: true
environment:
GO111MODULE: on
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
# Leaving this here until we know how to resolve this properly.
GOPATH: /srv/app
commands:
- export PATH=$PATH:$GOPATH/bin
- make release-linux
@ -363,7 +373,9 @@ steps:
image: techknowlogick/xgo:latest
pull: true
environment:
GO111MODULE: on
# This path does not exist. However, when we set the gopath to /go, the build fails. Not sure why.
# Leaving this here until we know how to resolve this properly.
GOPATH: /srv/app
commands:
- export PATH=$PATH:$GOPATH/bin
- make release-darwin