diff options
| author | intrigeri | 2019-02-03 09:43:27 +0000 |
|---|---|---|
| committer | jvoisin | 2019-02-03 19:18:41 +0100 |
| commit | e8c1bb0e3c4cae579e81ce6a4b01b829900ff922 (patch) | |
| tree | cd7146283c98f25544334cdd322b8c577ccc40d3 /.gitlab-ci.yml | |
| parent | 8b5d0c286c91537b43eb3284aa93b382636e7ebf (diff) | |
Whenever possible, use bwrap for subprocesses
This should closes #90
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 10e0009..f74cc9e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
| @@ -42,6 +42,17 @@ tests:debian: | |||
| 42 | script: | 42 | script: |
| 43 | - apt-get -qqy update | 43 | - apt-get -qqy update |
| 44 | - apt-get -qqy install --no-install-recommends python3-mutagen python3-gi-cairo gir1.2-poppler-0.18 gir1.2-gdkpixbuf-2.0 libimage-exiftool-perl python3-coverage ffmpeg | 44 | - apt-get -qqy install --no-install-recommends python3-mutagen python3-gi-cairo gir1.2-poppler-0.18 gir1.2-gdkpixbuf-2.0 libimage-exiftool-perl python3-coverage ffmpeg |
| 45 | - apt-get -qqy purge bubblewrap | ||
| 46 | - python3-coverage run --branch -m unittest discover -s tests/ | ||
| 47 | - python3-coverage report --fail-under=90 -m --include 'libmat2/*' | ||
| 48 | |||
| 49 | tests:debian_with_bubblewrap: | ||
| 50 | stage: test | ||
| 51 | tags: | ||
| 52 | - whitewhale | ||
| 53 | script: | ||
| 54 | - apt-get -qqy update | ||
| 55 | - apt-get -qqy install --no-install-recommends python3-mutagen python3-gi-cairo gir1.2-poppler-0.18 gir1.2-gdkpixbuf-2.0 libimage-exiftool-perl python3-coverage ffmpeg bubblewrap | ||
| 45 | - python3-coverage run --branch -m unittest discover -s tests/ | 56 | - python3-coverage run --branch -m unittest discover -s tests/ |
| 46 | - python3-coverage report --fail-under=100 -m --include 'libmat2/*' | 57 | - python3-coverage report --fail-under=100 -m --include 'libmat2/*' |
| 47 | 58 | ||
