Commit e7217c36 authored by schmidni's avatar schmidni
Browse files

Update .gitlab-ci.yml file

parent bfa4a6b7
Pipeline #2280 failed with stage
in 14 seconds
......@@ -23,20 +23,20 @@ stages:
- chmod 700 ~/.ssh
- ssh-keyscan -t rsa gitlab.seismo.ethz.ch >> ~/.ssh/known_hosts
flake8-job:
stage: codestyle
extends: .test-rules
image: python:3.8-alpine
before_script:
- pip install tox
script:
- tox -e flake8
# flake8-job:
# stage: codestyle
# extends: .test-rules
# image: python:3.8-alpine
# before_script:
# - pip install tox
# script:
# - tox -e flake8
py38-test-job:
stage: test
environment: testing
extends: .test-rules
needs: ["flake8-job"]
# needs: ["flake8-job"]
image: python:3.8
variables:
POSTGRES_DB: $POSTGRES_DB
......@@ -49,6 +49,8 @@ py38-test-job:
before_script:
- *add-ssh
- cp $DOTENV .env
- cat .env
- psql -h postgres -U $POSTGRES_USER --password $POSTGRES_PASSWORD --list
- apt-get update
- apt-get install -y python3-dev build-essential
- pip install tox
......
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