From 82557199d9751c9a28e77c6c9faa52e3cd46faaa Mon Sep 17 00:00:00 2001
From: Bas Nijholt <basnijholt@gmail.com>
Date: Wed, 10 Jan 2018 15:02:56 +0100
Subject: [PATCH] run yum install with sudo during the conda build

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ee225710..66b67d79 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -95,7 +95,7 @@ check for broken links in doc:
   stage: deploy
   image: condaforge/linux-anvil
   script:
-    - yum install -y devtoolset-2-gcc-gfortran
+    - /usr/bin/sudo -n yum install -y devtoolset-2-gcc-gfortran
     - git clone https://gitlab.kwant-project.org/kwant/conda-recipes.git
     - conda config --add channels kwant
     - conda build --python 3.5 conda-recipes/kwant-dev
-- 
GitLab