summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c1121b4..c45ccbc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -26,10 +26,21 @@ mypy:
26 - pip3 install mypy 26 - pip3 install mypy
27 - mypy mat2 libmat2/*.py --ignore-missing-imports 27 - mypy mat2 libmat2/*.py --ignore-missing-imports
28 28
29tests: 29tests:debian:
30 stage: test 30 stage: test
31 script: 31 script:
32 - apt-get -qqy update 32 - apt-get -qqy update
33 - 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 33 - 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
34 - python3-coverage run --branch -m unittest discover -s tests/ 34 - python3-coverage run --branch -m unittest discover -s tests/
35 - python3-coverage report -m --include 'libmat2/*' 35 - python3-coverage report -m --include 'libmat2/*'
36
37tests:fedora:
38 image: fedora
39 stage: test
40 script:
41 - dnf install -y python3 python3-mutagen python3-gobject
42 - dnf install -y gdk-pixbuf2 poppler-glib gdk-pixbuf2 gdk-pixbuf2-modules
43 - dnf install -y cairo-gobject cairo python3-cairo
44 - dnf install -y perl-Image-ExifTool mailcap
45 - gdk-pixbuf-query-loaders-64 > /usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders.cache
46 - python3 setup.py test