summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjvoisin2019-07-22 23:36:20 +0200
committerjvoisin2019-07-22 23:36:20 +0200
commit49e0c43ac59dc67619178211eda718ac5e5f8478 (patch)
tree5cbdadc401c83e96ecab60ec61ec9c57b566393a
parent0c75cd15dc1a8c27eae6d7903f94665cc338b785 (diff)
Tweak a bit the ci
- gentoo and debian with bubblewrap are not allowed to fail anymore - don't run coverage on debian without bubblewrap
-rw-r--r--.gitlab-ci.yml5
1 files changed, 1 insertions, 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:
58 stage: test 58 stage: test
59 script: 59 script:
60 - apt-get -qqy purge bubblewrap 60 - apt-get -qqy purge bubblewrap
61 - python3-coverage run --branch -m unittest discover -s tests/ 61 - python3 setup.py test
62 - python3-coverage report --fail-under=90 -m --include 'libmat2/*'
63 62
64tests:debian_with_bubblewrap: 63tests:debian_with_bubblewrap:
65 image: $CONTAINER_REGISTRY:debian 64 image: $CONTAINER_REGISTRY:debian
66 stage: test 65 stage: test
67 allow_failure: true
68 <<: *prepare_env 66 <<: *prepare_env
69 script: 67 script:
70 - su - mat2 -c "python3-coverage run --branch -m unittest discover -s tests/" 68 - su - mat2 -c "python3-coverage run --branch -m unittest discover -s tests/"
@@ -79,7 +77,6 @@ tests:fedora:
79tests:gentoo: 77tests:gentoo:
80 image: $CONTAINER_REGISTRY:gentoo 78 image: $CONTAINER_REGISTRY:gentoo
81 stage: test 79 stage: test
82 allow_failure: true
83 <<: *prepare_env 80 <<: *prepare_env
84 script: 81 script:
85 - su - mat2 -c "python3 -m unittest discover -v" 82 - su - mat2 -c "python3 -m unittest discover -v"