.gitlab-ci.yml 453 Bytes
Newer Older
Nico Alt's avatar
Nico Alt committed
1
image: debian:stretch
Nico Alt's avatar
Nico Alt committed
2

Nico Alt's avatar
Nico Alt committed
3 4 5
before_script:
    - apt update && apt install --no-install-recommends -y gir1.2-gtk-3.0 python3-gi python3-pip python3-setuptools
    - pip3 install -r requirements-dev.txt
Nico Alt's avatar
Nico Alt committed
6

Nico Alt's avatar
Nico Alt committed
7 8 9 10 11 12 13 14 15 16 17 18 19
stages:
  - test

pycodestyle:
    stage: test
    script: tools/tests/test-pycodestyle.sh

pylint:
    stage: test
    script: tools/tests/test-pylint.sh

pytest:
    stage: test
Nico Alt's avatar
Nico Alt committed
20
    coverage: '/TOTAL.*\s+(\d+%)$/'
Nico Alt's avatar
Nico Alt committed
21
    script: tools/tests/test-pytest.sh