diff options
| author | jvoisin | 2018-05-18 23:52:40 +0200 |
|---|---|---|
| committer | jvoisin | 2018-05-18 23:52:40 +0200 |
| commit | 38fae60b8beaf9c7b37c65325d2d285e62b6cb85 (patch) | |
| tree | e6bd4f699d6190dfada7618ebd04455eb7de9660 /.gitlab-ci.yml | |
| parent | 57d5cd04284276c49899034a9ad321b680624d8f (diff) | |
Rename some files to simplify packaging
- the `src` folder is now `libmat2`
- the `main.py` script is now `mat2.py`
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 90596a5..37f3b01 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
| @@ -9,14 +9,14 @@ bandit: | |||
| 9 | script: | 9 | script: |
| 10 | - apt-get -qqy update | 10 | - apt-get -qqy update |
| 11 | - apt-get -qqy install --no-install-recommends python3-bandit | 11 | - apt-get -qqy install --no-install-recommends python3-bandit |
| 12 | - bandit -r ./src --format txt --skip B404,B603 | 12 | - bandit -r ./libmat2 --format txt --skip B404,B603 |
| 13 | 13 | ||
| 14 | pyflakes: | 14 | pyflakes: |
| 15 | stage: linting | 15 | stage: linting |
| 16 | script: | 16 | script: |
| 17 | - apt-get -qqy update | 17 | - apt-get -qqy update |
| 18 | - apt-get -qqy install --no-install-recommends pyflakes3 | 18 | - apt-get -qqy install --no-install-recommends pyflakes3 |
| 19 | - pyflakes3 ./src | 19 | - pyflakes3 ./libmat2 |
| 20 | 20 | ||
| 21 | tests: | 21 | tests: |
| 22 | stage: test | 22 | stage: test |
| @@ -24,4 +24,4 @@ tests: | |||
| 24 | - apt-get -qqy update | 24 | - apt-get -qqy update |
| 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 | 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 |
| 26 | - python3-coverage run -m unittest discover -s tests/ | 26 | - python3-coverage run -m unittest discover -s tests/ |
| 27 | - python3-coverage report -m --include 'src/*' | 27 | - python3-coverage report -m --include 'libmat2/*' |
