From 2f29930738631d95730e9f75b136697f20326f7b Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Tue, 24 Jul 2018 16:14:03 +0200 Subject: [PATCH] gitlab-ci: Run "dnf upgrade" before installing packages --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8b1aaeb..4d03377 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,7 @@ fedora:Werror: image: fedora:28 stage: build before_script: + - dnf upgrade -y - dnf install -y 'dnf-command(builddep)' - dnf builddep -y libsecret - dnf install -y $DEPENDENCIES @@ -23,6 +24,7 @@ fedora:asan: image: fedora:28 stage: build before_script: + - dnf upgrade -y - dnf install -y 'dnf-command(builddep)' - dnf builddep -y libsecret - dnf install -y $DEPENDENCIES libasan @@ -37,6 +39,7 @@ fedora:ubsan: image: fedora:28 stage: build before_script: + - dnf upgrade -y - dnf install -y 'dnf-command(builddep)' - dnf builddep -y libsecret - dnf install -y $DEPENDENCIES libubsan @@ -51,6 +54,7 @@ fedora:coverage: image: fedora:28 stage: build before_script: + - dnf upgrade -y - dnf install -y 'dnf-command(builddep)' - dnf builddep -y libsecret - dnf install -y $DEPENDENCIES lcov