Commit de86a9db authored by Lorenz Steinert's avatar Lorenz Steinert

fixes #3

parent 7aa9c25b
...@@ -4,15 +4,18 @@ test: ...@@ -4,15 +4,18 @@ test:
image: python:3.6-alpine image: python:3.6-alpine
before_script: before_script:
- pip install ldap3 - pip install ldap3
script: python bin/module/test.py script:
- python bin/module/test.py
syntax: syntax:
except: except:
- schedules - schedules
image: debian:stretch image: debian:stretch
before_script: before_script:
- apt update > /dev/null; apt install -y python-flake8 flake8 > /dev/null - apt update > /dev/null
script: /usr/bin/flake8 --exclude .git,__pycache__,bin/module/test.py - apt install -y python-flake8 flake8 > /dev/null
script:
- /usr/bin/flake8 --exclude .git,__pycache__,bin/module/test.py
fallbackfiles: fallbackfiles:
only: only:
...@@ -25,7 +28,6 @@ fallbackfiles: ...@@ -25,7 +28,6 @@ fallbackfiles:
- git config --global user.name "Protobot" - git config --global user.name "Protobot"
- pip install ldap3 - pip install ldap3
- eval $( ssh-agent -s ) - eval $( ssh-agent -s )
- echo -e "$SSH_PRIVATE_KEY"
- echo -e "$SSH_PRIVATE_KEY" | ssh-add - - echo -e "$SSH_PRIVATE_KEY" | ssh-add -
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - '[[ -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