diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..e7a72605c1ff24a64c5fae9fc98ea30a4dd857b3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.random_seed diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bdd6a17a76fe1b0564d93717696bd15bf82d4848..01f6048b964b3755c2e0662285a1ef1101cc7e8c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: diff --git a/install_restic_for_tests.sh b/install_restic_for_tests.sh index 9c40f6db820899f68b31e976383091109cbab003..0d9bef2d1cc2e56a1e848cca2c02dc3604b7168c 100755 --- a/install_restic_for_tests.sh +++ b/install_restic_for_tests.sh @@ -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