circleci conf
This commit is contained in:
Родитель
9a40bda786
Коммит
fca13931e2
|
@ -14,6 +14,10 @@ jobs:
|
|||
environment:
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
POSTGRES_DB: speckle2_test
|
||||
environment:
|
||||
NODE_ENV: test
|
||||
DATABASE_URL: 'postgres://localhost:/speckle2_test'
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
|
|
|
@ -23,7 +23,7 @@ let migrationDirs = walk( './modules' )
|
|||
module.exports = {
|
||||
test: {
|
||||
client: 'pg',
|
||||
connection: 'postgres://localhost/speckle2_test',
|
||||
connection: process.env.DATABASE_URL || 'postgres://localhost/speckle2_test',
|
||||
migrations: {
|
||||
directory: migrationDirs
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче