summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorjvoisin2018-10-18 19:19:56 +0200
committerjvoisin2018-10-22 12:58:01 +0200
commite70ea811c99c16f3382c08153eda573df0825536 (patch)
treef1c05ca94b9d2ab09f74cfa6c7191bf73bf104e2 /.gitlab-ci.yml
parent2ae5d909c3e30c009bfc45bceba96ddd82f3e198 (diff)
Implement support for .avi files, via ffmpeg
- This commit introduces optional dependencies (namely ffmpeg): mat2 will spit a warning when trying to process an .avi file if ffmpeg isn't installed. - Since metadata are obtained via exiftool, this commit also refactors a bit our exfitool wrapper.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4f0a140..32ec086 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -42,7 +42,7 @@ tests:debian:
42 stage: test 42 stage: test
43 script: 43 script:
44 - apt-get -qqy update 44 - apt-get -qqy update
45 - 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 45 - 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
46 - python3-coverage run --branch -m unittest discover -s tests/ 46 - python3-coverage run --branch -m unittest discover -s tests/
47 - python3-coverage report --fail-under=100 -m --include 'libmat2/*' 47 - python3-coverage report --fail-under=100 -m --include 'libmat2/*'
48 48
@@ -62,5 +62,5 @@ tests:archlinux:
62 tags: 62 tags:
63 - whitewhale 63 - whitewhale
64 script: 64 script:
65 - pacman -Sy --noconfirm python-mutagen python-gobject gdk-pixbuf2 poppler-glib gdk-pixbuf2 python-cairo perl-image-exiftool python-setuptools mailcap 65 - pacman -Sy --noconfirm python-mutagen python-gobject gdk-pixbuf2 poppler-glib gdk-pixbuf2 python-cairo perl-image-exiftool python-setuptools mailcap ffmpeg
66 - python3 setup.py test 66 - python3 setup.py test