typeorm-model-generator/.travis.yml
2017-05-14 14:53:06 +02:00

18 lines
446 B
YAML

language: node_js
node_js:
- stable
- 6
- 5
- 4
env:
- MSSQLSkip=0
- MSSQLHost=localhost
- MSSQLPort=1433
- MSSQLUsername=sa
- MSSQLPassword=!Passw0rd
- MSSQLDatabase=test
before_script:
- docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=!Passw0rd' -p 1433:1433 -d microsoft/mssql-server-linux
- npm run typings-install
- tsc
- sqlcmd -S $MSSQLHost,$MSSQLPort -U $MSSQLUsername -P $MSSQLPassword -Q 'CREATE DATABASE TEST'