stages:
    - test

image: code.ungleich.ch:5050/ungleich-public/cdist/cdist-ci:latest

unit_tests:
    stage: test
    script:
        - ./bin/build-helper version
        - ./bin/build-helper test

pycodestyle:
    stage: test
    script:
        - ./bin/build-helper pycodestyle

shellcheck:
    stage: test
    script:
        - ./bin/build-helper shellcheck