init: - SET PATH=C:\Ruby%ruby_version%\bin;%PATH% - SET PATH=C:\MinGW\msys\1.0\bin;%PATH% - SET RAKEOPT=-rdevkit clone_depth: 5 skip_tags: true matrix: fast_finish: true install: - ps: Update-AppveyorBuild -Version "$(Get-Content $env:appveyor_build_folder\VERSION).$env:appveyor_build_number" - ruby --version - gem --version - bundle install - bundle exec rake build build: off branches: except: - /dev.*/ test_script: - timeout /t 4 /nobreak > NUL - powershell -File "%APPVEYOR_BUILD_FOLDER%\test\appveyor\dbsetup.ps1" - timeout /t 4 /nobreak > NUL - ps: Start-Service 'MSSQL$SQL2014' - timeout /t 4 /nobreak > NUL - sqlcmd -S ".\SQL2014" -U sa -P Password12! -i %APPVEYOR_BUILD_FOLDER%\test\appveyor\dbsetup.sql - bundle exec rake TINYTDS_UNIT_HOST_TEST=localhost TINYTDS_UNIT_DATASERVER="localhost\SQL2014" TINYTDS_SCHEMA=sqlserver_2014 - bundle exec rake TINYTDS_UNIT_HOST_TEST=localhost TINYTDS_UNIT_DATASERVER="localhost\SQL2014" TINYTDS_SCHEMA=sqlserver_2014 TDSVER=7.3 - ps: Stop-Service 'MSSQL$SQL2014' - ps: Start-Service 'MSSQL$SQL2012SP1' - timeout /t 4 /nobreak > NUL - sqlcmd -S ".\SQL2012SP1" -U sa -P Password12! -i %APPVEYOR_BUILD_FOLDER%\test\appveyor\dbsetup.sql - bundle exec rake TINYTDS_UNIT_HOST_TEST=localhost TINYTDS_UNIT_DATASERVER="localhost\SQL2012SP1" TINYTDS_SCHEMA=sqlserver_2014 - ps: Stop-Service 'MSSQL$SQL2012SP1' - ps: Start-Service 'MSSQL$SQL2008R2SP2' - timeout /t 4 /nobreak > NUL - sqlcmd -S ".\SQL2008R2SP2" -U sa -P Password12! -i %APPVEYOR_BUILD_FOLDER%\test\appveyor\dbsetup.sql - bundle exec rake TINYTDS_UNIT_HOST_TEST=localhost TINYTDS_UNIT_DATASERVER="localhost\SQL2008R2SP2" TINYTDS_SCHEMA=sqlserver_2008 - timeout /t 4 /nobreak > NUL - bundle exec rake TINYTDS_UNIT_HOST_TEST=%CI_AZURE_HOST% TINYTDS_UNIT_HOST=%CI_AZURE_HOST% TINYTDS_SCHEMA=sqlserver_azure - bundle exec rake TINYTDS_UNIT_HOST_TEST=%CI_AZURE_HOST% TINYTDS_UNIT_HOST=%CI_AZURE_HOST% TINYTDS_SCHEMA=sqlserver_azure TDSVER=7.3 environment: CI_AZURE_HOST: secure: Qkf6IJGISn6/WK9Feu71wLLQx7g0RMNfjj/YwNE+zJE= TINYTDS_UNIT_AZURE_USER: secure: a/9Rph59mNJMObcpJ7mrimqZ+pOth8NLY9iiroFUob4= TINYTDS_UNIT_AZURE_PASS: secure: fYKSKV4v+36OFQp2nZdX4DfUpgmy5cm0wuR73cgdmEk= matrix: - ruby_version: "200" - ruby_version: "22" - ruby_version: "22-x64" on_failure: - find -name compile.log | xargs cat