use postgres service for CI

This commit is contained in:
Jens Langhammer 2019-02-21 16:50:36 +01:00
parent b7ac4f1dd2
commit 8bc8765035
2 changed files with 14 additions and 3 deletions

View File

@ -8,7 +8,15 @@ stages:
- test - test
- build - build
- docs - docs
image: python:3.5 image: python:3.6
services:
- postgres:latest
variables:
POSTGRES_DB: passbook
POSTGRES_USER: passbook
POSTGRES_PASSWORD: 'EK-5jnKfjrGRm<77'
SUPERVISR_ENV: ci
include: include:
- /allauth/.gitlab-ci.yml - /allauth/.gitlab-ci.yml

View File

@ -1,8 +1,11 @@
# This is the default configuration file # This is the default configuration file
databases: databases:
default: default:
engine: 'django.db.backends.sqlite3' engine: 'django.db.backends.postgresql'
name: 'db.sqlite3' name: passbook
user: passbook
password: 'EK-5jnKfjrGRm<77'
host: postgres
log: log:
level: level:
console: DEBUG console: DEBUG