2017-05-03 17:47:01 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- stable
|
|
|
|
- 6
|
|
|
|
- 5
|
2017-05-03 17:51:35 +00:00
|
|
|
- 4
|
2017-05-14 13:00:03 +00:00
|
|
|
sudo: required
|
|
|
|
services:
|
|
|
|
- docker
|
2017-05-14 12:53:06 +00:00
|
|
|
env:
|
2017-05-14 13:00:03 +00:00
|
|
|
- MSSQLSkip=0 MSSQLHost=localhost MSSQLPort=1433 MSSQLUsername=sa MSSQLPassword=!Passw0rd MSSQLDatabase=test
|
2017-05-03 17:51:35 +00:00
|
|
|
before_script:
|
2017-05-14 13:00:03 +00:00
|
|
|
- docker pull microsoft/mssql-server-linux
|
2017-05-14 12:53:06 +00:00
|
|
|
- docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=!Passw0rd' -p 1433:1433 -d microsoft/mssql-server-linux
|
2017-05-03 17:51:35 +00:00
|
|
|
- npm run typings-install
|
2017-05-14 12:53:06 +00:00
|
|
|
- tsc
|
|
|
|
- sqlcmd -S $MSSQLHost,$MSSQLPort -U $MSSQLUsername -P $MSSQLPassword -Q 'CREATE DATABASE TEST'
|