[meld] Update CI to use before_script, and install intltool just in case



commit 275c8e69a8f6f32e6c8abecf2bfe3f4a77dc99e2
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Jan 20 08:51:27 2018 +1000

    Update CI to use before_script, and install intltool just in case
    
    ...where by "just in case" I mean "an exit code of 1 and no error
    message isn't helping me so maybe try this out?!"

 .gitlab-ci.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1cbd141d..2044a576 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,11 +6,15 @@ stages:
 variables:
   DEPENDENCIES: python3 pygobject3 gobject-introspection
                 python3-gobject gtk3 gtksourceview3
+                python3-pytest intltool
+
+before_script:
+  - dnf update -y
+  - dnf install -y $DEPENDENCIES
 
 flake8:
   stage: check
   script:
-    - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
     - pip3 install -r dev-requirements.txt
     - flake8 meld/
   allow_failure: true
@@ -18,11 +22,9 @@ flake8:
 pytest:
   stage: check
   script:
-    - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES python3-pytest
     - py.test-3 test/
 
 build:
   stage: build
   script:
-    - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
     - python3 setup.py build


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]