Add patch to the CI build

This commit is contained in:
2018-07-14 21:57:24 +01:00
parent 835b3a6812
commit 9c295b812c

View File

@@ -5,6 +5,7 @@ build:
variables:
CADDY_TAG: $CI_COMMIT_TAG
script:
- apt-get -yy update && apt-get -yy install patch
- 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"