fixing circleci config

This commit is contained in:
Umed Khudoiberdiev 2019-01-03 21:55:27 +05:00
parent 5e27f3f431
commit 7f6aeeb381
3 changed files with 76 additions and 6 deletions

View File

@ -8,7 +8,7 @@ jobs:
# documented at https://circleci.com/docs/2.0/circleci-images/
- image: circleci/node:10.15.0
- image: circleci/mysql:5.7.24
- image: circleci/mariadb:10.1.37
# - image: circleci/mariadb:10.1.37
- image: circleci/postgres:9.6.11-postgis
- image: circleci/mongo:3.4.18
@ -17,7 +17,7 @@ jobs:
steps:
- checkout
- run: sudo npm install -g npm@latest
- run: cp ormconfig.travis.json ormconfig.json
- run: cp ormconfig.circleci.json ormconfig.json
# Download and cache dependencies
- restore_cache:

View File

@ -15,7 +15,7 @@ services:
# mysql
mysql:
image: "mysql:5.7.10"
image: "mysql:5.7.24"
container_name: "typeorm-mysql"
ports:
- "3306:3306"
@ -27,7 +27,7 @@ services:
# mariadb
mariadb:
image: "mariadb:10.1.16"
image: "mariadb:10.1.37"
container_name: "typeorm-mariadb"
ports:
- "3307:3306"
@ -42,7 +42,7 @@ services:
# mdillon/postgis is postgres + PostGIS (only). if you need additional
# extensions, it's probably time to create a purpose-built image with all
# necessary extensions. sorry, and thanks for adding support for them!
image: "mdillon/postgis:9.6"
image: "postgres:9.6.11-postgis"
container_name: "typeorm-postgres"
ports:
- "5432:5432"
@ -63,7 +63,7 @@ services:
# mongodb
mongodb:
image: "mongo:3.4.1"
image: "mongo:3.4.18"
container_name: "typeorm-mongodb"
ports:
- "27017:27017"

70
ormconfig.circleci.json Normal file
View File

@ -0,0 +1,70 @@
[
{
"skip": false,
"name": "mysql",
"type": "mysql",
"host": "localhost",
"port": 3306,
"username": "root",
"password": "",
"database": "test"
},
{
"skip": true,
"name": "mariadb",
"type": "mariadb",
"host": "localhost",
"port": 3307,
"username": "root",
"password": "admin",
"database": "test"
},
{
"skip": false,
"name": "sqlite",
"type": "sqlite",
"database": "temp/sqlitedb.db"
},
{
"skip": false,
"name": "postgres",
"type": "postgres",
"host": "localhost",
"port": 5432,
"username": "test",
"password": "test",
"database": "test",
"logging": false
},
{
"skip": false,
"name": "sqljs",
"type": "sqljs"
},
{
"skip": true,
"name": "mssql",
"type": "mssql",
"host": "localhost",
"username": "sa",
"password": "Admin12345",
"database": "tempdb"
},
{
"skip": true,
"name": "oracle",
"type": "oracle",
"host": "localhost",
"username": "system",
"password": "oracle",
"port": 1521,
"sid": "xe.oracle.docker"
},
{
"skip": false,
"disabledIfNotEnabledImplicitly": true,
"name": "mongodb",
"type": "mongodb",
"database": "test"
}
]