use postgres service for CI
This commit is contained in:
parent
b7ac4f1dd2
commit
8bc8765035
|
@ -8,7 +8,15 @@ stages:
|
|||
- test
|
||||
- build
|
||||
- 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:
|
||||
- /allauth/.gitlab-ci.yml
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
# This is the default configuration file
|
||||
databases:
|
||||
default:
|
||||
engine: 'django.db.backends.sqlite3'
|
||||
name: 'db.sqlite3'
|
||||
engine: 'django.db.backends.postgresql'
|
||||
name: passbook
|
||||
user: passbook
|
||||
password: 'EK-5jnKfjrGRm<77'
|
||||
host: postgres
|
||||
log:
|
||||
level:
|
||||
console: DEBUG
|
||||
|
|
Reference in a new issue