Commit 03808f7b authored by ale's avatar ale

Install "curl" directly in the test wrapper

parent 71b66104
Pipeline #2533 failed with stages
in 8 seconds
.random_seed
......@@ -11,7 +11,6 @@ test:
stage: test
image: "ai/test:go"
script:
- "apt-get install -qy curl"
- "./install_restic_for_tests.sh"
- "go-test-runner ."
except:
......@@ -31,7 +30,6 @@ build:pkg:
stage: build_pkg
image: "ai/build:stretch"
script:
- "apt-get install -qy curl"
- "./install_restic_for_tests.sh"
- "build-deb"
dependencies:
......
......@@ -18,6 +18,7 @@ DOWNLOAD_URL="https://github.com/restic/restic/releases/download/v${RESTIC_VERSI
set -e
set -x
test -x /usr/bin/curl || apt-get -qy install curl
curl -sL "${DOWNLOAD_URL}" | bunzip2 -c > /usr/bin/restic
chmod +x /usr/bin/restic
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment