35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
language: node_js
|
|
node_js:
|
|
- stable
|
|
- 8
|
|
- 6
|
|
sudo: required
|
|
services:
|
|
- docker
|
|
env:
|
|
matrix:
|
|
- >-
|
|
POSTGRES_Skip=0 POSTGRES_Host=localhost POSTGRES_Port=5432
|
|
POSTGRES_Username=postgres POSTGRES_Password=!Passw0rd
|
|
POSTGRES_Database=typeorm_mg POSTGRES_SSL=0 MYSQL_Skip=0
|
|
MYSQL_Host=localhost MYSQL_Port=3306 MYSQL_Username=root
|
|
MYSQL_Password=!Passw0rd MYSQL_Database=typeorm_mg MYSQL_SSL=1
|
|
MARIADB_Skip=0 MARIADB_Host=localhost MARIADB_Port=3307
|
|
MARIADB_Username=root MARIADB_Password=!Passw0rd
|
|
MARIADB_Database=typeorm_mg MARIADB_SSL=0 MSSQL_Skip=0
|
|
MSSQL_Host=localhost MSSQL_Port=1433 MSSQL_Username=sa
|
|
MSSQL_Password=!Passw0rd MSSQL_Database=typeorm_mg MSSQL_SSL=0
|
|
before_install:
|
|
- sudo service mysql stop
|
|
- sudo service postgresql stop
|
|
- docker-compose up -d
|
|
- npm install -g npm@5
|
|
- npm install -g greenkeeper-lockfile@1
|
|
before_script:
|
|
- greenkeeper-lockfile-update
|
|
- npm run typings-install
|
|
- npm link typescript
|
|
- tsc
|
|
after_script:
|
|
- greenkeeper-lockfile-upload
|