typeorm-model-generator/.travis.yml

29 lines
593 B
YAML

language: node_js
node_js:
- stable
- 7
- 6
- 5
sudo: required
services:
- docker
env:
- MSSQL_Skip=0 MSSQL_Host=localhost MSSQL_Port=1433 MSSQL_Username=sa MSSQL_Password=!Passw0rd MSSQL_Database=tempdb
before_install:
- docker pull microsoft/mssql-server-linux
- docker pull postgres
- 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
before_script:
- npm run typings-install
- npm link typescript
- tsc