Commit 5598ae9e authored by Álax Alves's avatar Álax Alves

Improving gitlab-ci builds

parent af7433d0
...@@ -2,17 +2,21 @@ image: python:3 ...@@ -2,17 +2,21 @@ image: python:3
services: services:
- postgres:9.6 - postgres:9.6
- redis:4.0.11
variables: variables:
POSTGRES_DB: smiunbtest POSTGRES_DB: smiunbtest
POSTGRES_USER: postgres POSTGRES_USER: postgres
POSTGRES_PASSWORD: "" POSTGRES_PASSWORD: ""
before_script:
- pip3 install -e .[dev]
test: test:
script: script:
- apt-get update -qq - coverage run manage.py test smi_unb --settings=smi_unb.settings_runner
- apt-get install python3-pip -y -qq - coverage report
- pip3 install -e .[dev]
- flake8 src/ --exclude migrations stylesheet:
- coverage run manage.py test smi_unb --settings=smi_unb.settings_runner script:
- coverage report - flake8 src/ --exclude migrations
\ No newline at end of file \ No newline at end of file
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