.gitlab-ci.yml 378 Bytes
Newer Older
Lorenz Steinert's avatar
bal  
Lorenz Steinert committed
1
image: python:3.6-alpine
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
bal  
Lorenz Steinert committed
5 6
        #        - apt update; apt install -y python3-ldap3
        - pip install ldap3
Lorenz Steinert's avatar
bal  
Lorenz Steinert committed
7
    script: python -V; python bin/module/test.py
Lorenz Steinert's avatar
Lorenz Steinert committed
8 9

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