summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml21
1 files changed, 20 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b711677..90596a5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,25 @@
1image: debian 1image: debian
2 2
3test: 3stages:
4 - linting
5 - test
6
7bandit:
8 stage: linting
9 script:
10 - apt-get -qqy update
11 - apt-get -qqy install --no-install-recommends python3-bandit
12 - bandit -r ./src --format txt --skip B404,B603
13
14pyflakes:
15 stage: linting
16 script:
17 - apt-get -qqy update
18 - apt-get -qqy install --no-install-recommends pyflakes3
19 - pyflakes3 ./src
20
21tests:
22 stage: test
4 script: 23 script:
5 - apt-get -qqy update 24 - apt-get -qqy update
6 - 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 25 - 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