typeorm-model-generator/.travis.yml

38 lines
1.3 KiB
YAML
Raw Normal View History

2017-05-03 17:47:01 +00:00
language: node_js
2017-05-14 13:08:18 +00:00
2017-05-03 17:47:01 +00:00
node_js:
- stable
- 7
2017-05-03 17:47:01 +00:00
- 6
- 5
2017-05-14 13:08:18 +00:00
2017-05-14 13:00:03 +00:00
sudo: required
2017-05-14 13:08:18 +00:00
2017-05-14 13:00:03 +00:00
services:
- docker
2017-05-14 13:08:18 +00:00
2017-05-14 12:53:06 +00:00
env:
2017-08-14 14:38:18 +00:00
- MSSQL_Skip=0 MSSQL_Host=localhost MSSQL_Port=1433 MSSQL_Username=sa MSSQL_Password=!Passw0rd MSSQL_Database=typeorm_mg
- POSTGRES_Skip=0 POSTGRES_Host=localhost POSTGRES_Port=5432 POSTGRES_Username=postgres POSTGRES_Password=!Passw0rd POSTGRES_Database=typeorm_mg
2017-08-14 14:45:10 +00:00
- MYSQL_Skip=0 MYSQL_Host=localhost MYSQL_Port=3306 MYSQL_Username=root MYSQL_Password=!Passw0rd MYSQL_Database=typeorm_mg
- MARIADB_Skip=0 MARIADB_Host=localhost MARIADB_Port=3307 MARIADB_Username=root MARIADB_Password=!Passw0rd MARIADB_Database=typeorm_mg
2017-08-14 14:38:18 +00:00
2017-05-14 13:08:18 +00:00
before_install:
2017-08-14 14:38:18 +00:00
- sudo service mysql stop
2017-07-03 20:33:55 +00:00
- sudo service postgresql stop
2017-05-14 13:00:03 +00:00
- docker pull microsoft/mssql-server-linux
- docker pull postgres
2017-08-14 14:38:18 +00:00
- docker pull mysql
- docker pull mariadb
2017-05-14 13:34:41 +00:00
- docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=!Passw0rd' -p 1433:1433 --name mssql -d microsoft/mssql-server-linux
- docker run -e 'POSTGRES_PASSWORD=!Passw0rd' -p 5432:5432 --name postgres -d postgres
2017-08-14 14:38:18 +00:00
- docker run -e MYSQL_ROOT_PASSWORD=!Passw0rd -p 3306:3306 --name mysql -d mysql
- docker run -e MYSQL_ROOT_PASSWORD=!Passw0rd -p 3307:3306 --name mariadb -d mariadb
2017-05-14 13:34:41 +00:00
2017-05-14 13:08:18 +00:00
before_script:
2017-05-03 17:51:35 +00:00
- npm run typings-install
2017-06-17 15:30:39 +00:00
- npm link typescript
2017-05-14 12:53:06 +00:00
- tsc