.gitlab-ci.yml 331 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
    before_script:
Lorenz Steinert's avatar
Lorenz Steinert committed
10
        - apt update > /devv/null; apt install -y python-flake8 flake8 > /dev/null
Lorenz Steinert's avatar
bla  
Lorenz Steinert committed
11
    script: /usr/bin/flake8 --exclude .git,__pycache__,bin/module/test.py