Commit 9515ae35 authored by Guido Gunther's avatar Guido Gunther

Use eatmydata to speedup package installation

parent 06b07a33
......@@ -16,12 +16,13 @@ variables:
- echo "man-db man-db/auto-update boolean false" | debconf-set-selections
- export DEBIAN_FRONTEND=noninteractive
- apt-get -y update
- apt-get -y install build-essential git
- apt-get -y install eatmydata
- eatmydata apt-get -y install build-essential git
- '[ "$L5_ADD_SCRATCH_CI" != "true" ] || apt-get -y install wget ca-certificates gnupg'
- '[ "$L5_ADD_SCRATCH_CI" != "true" ] || echo "deb http://ci.puri.sm/ scratch librem5" > /etc/apt/sources.list.d/ci.list'
- '[ "$L5_ADD_SCRATCH_CI" != "true" ] || wget -O- https://ci.puri.sm/ci-repo.key | apt-key add -'
- '[ "$L5_ADD_SCRATCH_CI" != "true" ] || apt-get -y update'
- apt-get -y build-dep .
- eatmydata apt-get -y build-dep .
- rm -f ../* || true
script:
- '[ "$L5_GIT_SUBMODULE_UPDATE" != "true" ] || git submodule update --recursive'
......@@ -44,10 +45,11 @@ variables:
- echo "man-db man-db/auto-update boolean false" | debconf-set-selections
- export DEBIAN_FRONTEND=noninteractive
- apt-get -y update
- '[ "$L5_ADD_SCRATCH_CI" != "true" ] || apt-get -y install wget ca-certificates gnupg'
- apt-get -y install eatmydata
- '[ "$L5_ADD_SCRATCH_CI" != "true" ] || eatmydata apt-get -y install wget ca-certificates gnupg'
- '[ "$L5_ADD_SCRATCH_CI" != "true" ] || echo "deb http://ci.puri.sm/ scratch librem5" > /etc/apt/sources.list.d/ci.list'
- '[ "$L5_ADD_SCRATCH_CI" != "true" ] || wget -O- https://ci.puri.sm/ci-repo.key | apt-key add -'
- apt-get -y install autopkgtest
- eatmydata apt-get -y install autopkgtest
script:
- ls "${L5_WORKING_DIR}"
- RET=0;
......@@ -66,7 +68,8 @@ variables:
- echo "man-db man-db/auto-update boolean false" | debconf-set-selections
- export DEBIAN_FRONTEND=noninteractive
- apt-get -y update
- apt-get -y install wget ca-certificates gnupg lintian
- apt-get -y install eatmydata
- eatmydata apt-get -y install wget ca-certificates gnupg lintian
script:
- ls "${L5_WORKING_DIR}"
- lintian ${L5_LINTIAN_OPTS} ${L5_WORKING_DIR}/*.changes
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