Commit e00d573f authored by schmidni's avatar schmidni
Browse files

Update .gitlab-ci.yml file

parent 1a224522
......@@ -14,13 +14,10 @@ stages:
.add-ssh:
&add-ssh ## Install ssh-agent if not already installed, it is required by Docker.
- "command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )"
## Run ssh-agent (inside the build environment)
- eval $(ssh-agent -s)
## Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
## Create the SSH directory and give it the right permissions
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
......@@ -52,7 +49,7 @@ py38-test-job:
image: python:3.8
before_script:
- *add-ssh
- *add-env
# - *add-env
- pip install tox
script:
- tox -e py38-tests
......
Supports Markdown
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