ci: clean up image

This commit is contained in:
Felix Krull 2019-08-28 01:00:12 +02:00 committed by Colin Walters
parent 39532d4160
commit e4c82f6e8e
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
image: rust:latest image: rust:1-buster
variables: variables:
SCCACHE_URL: https://github.com/mozilla/sccache/releases/download/0.2.8/sccache-0.2.8-x86_64-unknown-linux-musl.tar.gz SCCACHE_URL: https://github.com/mozilla/sccache/releases/download/0.2.8/sccache-0.2.8-x86_64-unknown-linux-musl.tar.gz
@ -8,9 +8,9 @@ variables:
RUSTC_WRAPPER: sccache RUSTC_WRAPPER: sccache
before_script: before_script:
- echo deb http://ftp.debian.org/debian stretch-backports main > /etc/apt/sources.list.d/backports.list # TODO: use libostree from unstable
- apt-get update - apt-get update
- apt-get install -y -t stretch-backports cmake libostree-dev - apt-get install -y libostree-dev
- wget -O - ${SCCACHE_URL} | tar -C /usr/bin/ -xz --wildcards --strip-components=1 '*/sccache' - wget -O - ${SCCACHE_URL} | tar -C /usr/bin/ -xz --wildcards --strip-components=1 '*/sccache'
cache: cache: