2017-05-03 17:47:01 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2017-12-31 16:28:41 +00:00
|
|
|
- stable
|
|
|
|
- 8
|
|
|
|
- 6
|
2017-05-14 13:00:03 +00:00
|
|
|
sudo: required
|
|
|
|
services:
|
2017-12-31 16:28:41 +00:00
|
|
|
- docker
|
2017-05-14 12:53:06 +00:00
|
|
|
env:
|
2017-12-31 16:28:41 +00:00
|
|
|
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
|
2018-02-25 16:32:00 +00:00
|
|
|
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
|
2017-05-14 13:08:18 +00:00
|
|
|
before_install:
|
2017-12-31 16:28:41 +00:00
|
|
|
- sudo service mysql stop
|
|
|
|
- sudo service postgresql stop
|
|
|
|
- docker-compose up -d
|
|
|
|
- npm install -g npm@5
|
|
|
|
- npm install -g greenkeeper-lockfile@1
|
2017-05-14 13:08:18 +00:00
|
|
|
before_script:
|
2017-12-31 16:28:41 +00:00
|
|
|
- greenkeeper-lockfile-update
|
2018-03-18 19:34:18 +00:00
|
|
|
- typings install
|
2017-12-31 16:28:41 +00:00
|
|
|
- npm link typescript
|
|
|
|
- tsc
|
2017-12-30 09:31:26 +00:00
|
|
|
after_script:
|
2017-12-31 16:28:41 +00:00
|
|
|
- greenkeeper-lockfile-upload
|