.gitlab-ci.yml 294 Bytes
Newer Older
Lorenz Steinert's avatar
Lorenz Steinert committed
1
image: python:3.6-stretch
Lorenz Steinert's avatar
testing  
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 python3-ldap3
Lorenz Steinert's avatar
Lorenz Steinert committed
6
    script: 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: flake8 --exclude .git,__pycache__,bin/module/test.py