Commit de86a9db authored by Lorenz Steinert's avatar Lorenz Steinert

fixes #3

parent 7aa9c25b
......@@ -4,15 +4,18 @@ test:
image: python:3.6-alpine
before_script:
- pip install ldap3
script: python bin/module/test.py
script:
- python bin/module/test.py
syntax:
except:
- schedules
image: debian:stretch
before_script:
- apt update > /dev/null; apt install -y python-flake8 flake8 > /dev/null
script: /usr/bin/flake8 --exclude .git,__pycache__,bin/module/test.py
- apt update > /dev/null
- apt install -y python-flake8 flake8 > /dev/null
script:
- /usr/bin/flake8 --exclude .git,__pycache__,bin/module/test.py
fallbackfiles:
only:
......@@ -25,7 +28,6 @@ fallbackfiles:
- git config --global user.name "Protobot"
- pip install ldap3
- eval $( ssh-agent -s )
- echo -e "$SSH_PRIVATE_KEY"
- echo -e "$SSH_PRIVATE_KEY" | ssh-add -
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment