.gitlab-ci.yml 306 Bytes
Newer Older
Lorenz Steinert's avatar
Lorenz Steinert committed
1
test:
Lorenz Steinert's avatar
Lorenz Steinert committed
2
    image: python:3.6-alpine
Lorenz Steinert's avatar
Lorenz Steinert committed
3
    before_script:
Lorenz Steinert's avatar
bal  
Lorenz Steinert committed
4
        - pip install ldap3
Lorenz Steinert's avatar
Lorenz Steinert committed
5
    script: python bin/module/test.py
Lorenz Steinert's avatar
Lorenz Steinert committed
6 7

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