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

Improving gitlab-ci builds

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