.gitlab-ci.yml 325 Bytes
Newer Older
Lorenz Steinert's avatar
Lorenz Steinert committed
1
image: python:3.6-stretch
Lorenz Steinert's avatar
Lorenz Steinert committed
2

Lorenz Steinert's avatar
Lorenz Steinert committed
3
test:
Lorenz Steinert's avatar
Lorenz Steinert committed
4
    before_script:
Lorenz Steinert's avatar
Lorenz Steinert committed
5
        - apt update; apt install -y python3-ldap3
Lorenz Steinert's avatar
Lorenz Steinert committed
6
    script: /usr/bin/python3 -V; /usr/bin/python3 bin/module/test.py
Lorenz Steinert's avatar
Lorenz Steinert committed
7 8 9

syntax:
    before_script:
Lorenz Steinert's avatar
Lorenz Steinert committed
10
        - apt update; apt install -y python-flake8
Lorenz Steinert's avatar
Lorenz Steinert committed
11
    script: /usr/bin/flake8 --exclude .git,__pycache__,bin/module/test.py