File: .gitlab-ci.yml

package info (click to toggle)
rename-flac 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 156 kB
  • sloc: python: 146; sh: 11; makefile: 7
file content (33 lines) | stat: -rw-r--r-- 728 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
stages:
  - lint
  - build
  - test

image: debian:sid

lint:
  stage: lint
  script:
  - apt-get update && apt-get install -y pylint
  - find . -iname "*.py" | xargs pylint

build:
  stage: build
  script:
  - apt-get update && apt-get install -y python3-setuptools
  - python3 setup.py install
  - rename-flac --help

test:unit:
  stage: test
  script:
  - apt-get update && apt-get install -y python3-setuptools flac
  - python3 setup.py install
  - python3 setup.py test

test:integration:
  stage: test
  script:
  - apt-get update && apt-get install -y python3 flac
  - python3 rename_flac.py "%a - %b - %c - %d - %g - %n - %t" tests
  - test -e "tests/Artist - Album - Composer - Date - Genre - Tracknumber - Title.flac"