From 278c9c21ca2ba4a8cf537a08d819ab97bb2accf4 Mon Sep 17 00:00:00 2001 From: Kononnable Date: Sun, 14 May 2017 15:08:18 +0200 Subject: [PATCH] travis CI fix2 --- .travis.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bc25138..19682a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,28 @@ language: node_js + node_js: - stable - 6 - 5 - 4 + sudo: required + services: - docker + env: - MSSQLSkip=0 MSSQLHost=localhost MSSQLPort=1433 MSSQLUsername=sa MSSQLPassword=!Passw0rd MSSQLDatabase=test -before_script: + +before_install: - docker pull microsoft/mssql-server-linux - docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=!Passw0rd' -p 1433:1433 -d microsoft/mssql-server-linux + - curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add - + - curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list + - sudo apt-get update + - sudo apt-get install mssql-tools + +before_script: - npm run typings-install - tsc - sqlcmd -S $MSSQLHost,$MSSQLPort -U $MSSQLUsername -P $MSSQLPassword -Q 'CREATE DATABASE TEST' \ No newline at end of file