Install gox

This commit is contained in:
Nick Thomas 2018-07-14 22:30:57 +01:00
parent 8624bceba7
commit 414a8c256f
Signed by: lupine
GPG Key ID: 1F1A7ECCCFE0B92F
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ build:
CADDY_TAG: $CI_COMMIT_TAG
script:
- apt-get -yy update && apt-get -yy install patch
- go get github.com/mitchellh/gox
- scripts/download "$(dirname $CI_PROJECT_URL)/caddy/-/archive/${CADDY_TAG}/caddy-${CADDY_TAG}.tar.gz"
- mkdir -p "$GOPATH/src/github.com/mholt"
- ln -s "$(pwd)/source" "$GOPATH/src/github.com/mholt/caddy"