From 49e0c43ac59dc67619178211eda718ac5e5f8478 Mon Sep 17 00:00:00 2001
From: jvoisin <julien.voisin@dustri.org>
Date: Mon, 22 Jul 2019 23:36:20 +0200
Subject: [PATCH] Tweak a bit the ci

- gentoo and debian with bubblewrap are not allowed to fail anymore
- don't run coverage on debian without bubblewrap
---
 .gitlab-ci.yml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1ed155c..35bd62d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -58,13 +58,11 @@ tests:debian:
   stage: test
   script:
     - apt-get -qqy purge bubblewrap
-    - python3-coverage run --branch -m unittest discover -s tests/
-    - python3-coverage report --fail-under=90 -m --include 'libmat2/*'
+    - python3 setup.py test
 
 tests:debian_with_bubblewrap:
   image: $CONTAINER_REGISTRY:debian
   stage: test
-  allow_failure: true
   <<: *prepare_env
   script:
     - su - mat2 -c "python3-coverage run --branch -m unittest discover -s tests/"
@@ -79,7 +77,6 @@ tests:fedora:
 tests:gentoo:
   image: $CONTAINER_REGISTRY:gentoo
   stage: test
-  allow_failure: true
   <<: *prepare_env
   script:
     - su - mat2 -c "python3 -m unittest discover -v"
-- 
GitLab