test workaround

This commit is contained in:
yitam 2017-05-09 11:18:30 -07:00
parent 277d7066a9
commit f816bbaf79

View file

@ -98,7 +98,6 @@ install:
Set-Service SQLBrowser -StartupType Manual;
Start-Service SQLBrowser;
- cmd: wmic product list brief /format:list
- echo Set PHP version...
- appveyor DownloadFile http://windows.php.net/downloads/releases/sha1sum.txt
# determine latest PHP versions
@ -116,12 +115,13 @@ install:
#- echo Downloading PHP deps [%PHP_DEPSVER%]
#- ps: (new-object net.webclient).DownloadFile('http://windows.php.net/downloads/php-sdk/deps-' + ${env:PHP_DEPSVER} + '-vc' + ${env:PHP_VC} + '-' + ${env:BUILD_PLATFORM} + '.7z', ${env:APPVEYOR_BUILD_FOLDER} + '\..\deps.7z')
- echo Downloading MSODBCSQL 13.1
- ps: (new-object net.webclient).DownloadFile('https://download.microsoft.com/download/D/5/E/D5EEF288-A277-45C8-855B-8E2CB7E25B96/' + ${env:BUILD_PLATFORM} + '/msodbcsql.msi', 'msodbcsql.msi')
- $msiPath = "$($env:USERPROFILE)\msodbcsql.msi"
- ps: (new-object net.webclient).DownloadFile('https://download.microsoft.com/download/D/5/E/D5EEF288-A277-45C8-855B-8E2CB7E25B96/' + ${env:BUILD_PLATFORM} + '/msodbcsql.msi', $msiPath)
#- ps: msiexec /i msodbcsql.msi /quiet /qn /norestart
- ps: msiexec /i msodbcsql.msi /quiet /norestart /l install.log
- cmd: more install.log
#- ps: msiexec /i msodbcsql.msi /quiet /norestart /l install.log
- cmd /c start /wait msiexec /i "$msiPath" /q
- echo Checking the version of MSODBCSQL
- reg query "HKLM\SOFTWARE\ODBC\odbcinst.ini\ODBC Driver 13 for SQL Server"
#- reg query "HKLM\SOFTWARE\ODBC\odbcinst.ini\ODBC Driver 13 for SQL Server"
- dir C:\Windows\System32\msodbcsql13.dll
- cd ..
- cd