22 - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
33 - SET PATH=C:\MinGW\msys\1.0\bin;%PATH%
44 - SET RAKEOPT=-rdevkit
5- - SET TDSDUMP=%APPVEYOR_BUILD_FOLDER%\test\tdsdump.log
65 - SET TINYTDS_VERSION=0.9.5.rc.2
76clone_depth : 5
87skip_tags : true
@@ -15,33 +14,29 @@ install:
1514 - bundle install --without odbc
1615build : off
1716test_script :
18- # - powershell -File "%APPVEYOR_BUILD_FOLDER%\test\appveyor\dbsetup.ps1"
17+ - powershell -File "%APPVEYOR_BUILD_FOLDER%\test\appveyor\dbsetup.ps1"
18+ - timeout /t 4 /nobreak > NUL
19+ - ps : Start-Service 'MSSQL$SQL2014'
20+ - timeout /t 4 /nobreak > NUL
21+ - sqlcmd -S ".\SQL2014" -U sa -P Password12! -i %APPVEYOR_BUILD_FOLDER%\test\appveyor\dbsetup.sql
22+ - bundle exec rake test ACTIVERECORD_UNITTEST_DATASERVER="localhost\SQL2014"
23+ - bundle exec rake test ACTIVERECORD_UNITTEST_DATASERVER="localhost\SQL2014" ACTIVERECORD_UNITTEST_TDSVERSION="7.3"
24+ - ps : Stop-Service 'MSSQL$SQL2014'
25+ - ps : Start-Service 'MSSQL$SQL2012SP1'
26+ - timeout /t 4 /nobreak > NUL
27+ - sqlcmd -S ".\SQL2012SP1" -U sa -P Password12! -i %APPVEYOR_BUILD_FOLDER%\test\appveyor\dbsetup.sql
28+ - bundle exec rake test ACTIVERECORD_UNITTEST_DATASERVER="localhost\SQL2012SP1"
29+ - bundle exec rake test ACTIVERECORD_UNITTEST_DATASERVER="localhost\SQL2012SP1" ACTIVERECORD_UNITTEST_TDSVERSION="7.3"
1930 # - timeout /t 4 /nobreak > NUL
20- # - ps: Start-Service 'MSSQL$SQL2014'
31+ # - bundle exec rake test ACTIVERECORD_UNITTEST_HOST=%CI_AZURE_HOST% ACTIVERECORD_UNITTEST_PASS=%CI_AZURE_PASS% ACTIVERECORD_UNITTEST_AZURE=1
2132 # - timeout /t 4 /nobreak > NUL
22- # - sqlcmd -S ".\SQL2014" -U sa -P Password12! -i %APPVEYOR_BUILD_FOLDER%\test\appveyor\dbsetup.sql
23- # - bundle exec rake test ACTIVERECORD_UNITTEST_DATASERVER="localhost\SQL2014"
24- # - bundle exec rake test ACTIVERECORD_UNITTEST_DATASERVER="localhost\SQL2014" ACTIVERECORD_UNITTEST_TDSVERSION="7.3"
25- # - ps: Stop-Service 'MSSQL$SQL2014'
26- # - ps: Start-Service 'MSSQL$SQL2012SP1'
27- # - timeout /t 4 /nobreak > NUL
28- # - sqlcmd -S ".\SQL2012SP1" -U sa -P Password12! -i %APPVEYOR_BUILD_FOLDER%\test\appveyor\dbsetup.sql
29- # - bundle exec rake test ACTIVERECORD_UNITTEST_DATASERVER="localhost\SQL2012SP1"
30- # - bundle exec rake test ACTIVERECORD_UNITTEST_DATASERVER="localhost\SQL2012SP1" ACTIVERECORD_UNITTEST_TDSVERSION="7.3"
31- # - timeout /t 4 /nobreak > NUL
32- # - bundle exec rake test ACTIVERECORD_UNITTEST_AZURE=1 ACTIVERECORD_UNITTEST_HOST=%CI_AZURE_HOST% ACTIVERECORD_UNITTEST_PASS=%CI_AZURE_PASS% ONLY_SQLSERVER=1
33- # - timeout /t 4 /nobreak > NUL
34- # - bundle exec rake test ACTIVERECORD_UNITTEST_AZURE=1 ACTIVERECORD_UNITTEST_HOST=%CI_AZURE_HOST% ACTIVERECORD_UNITTEST_PASS=%CI_AZURE_PASS% ACTIVERECORD_UNITTEST_TDSVERSION="7.3"
35- - bundle exec ruby %APPVEYOR_BUILD_FOLDER%\test\debug.rb
36- # - bundle exec rake --trace test ACTIVERECORD_UNITTEST_HOST=%CI_AZURE_HOST% ACTIVERECORD_UNITTEST_PASS=%CI_AZURE_PASS% ACTIVERECORD_UNITTEST_AZURE=1 ONLY_SQLSERVER=1 TDSVER=7.3
33+ # - bundle exec rake test ACTIVERECORD_UNITTEST_HOST=%CI_AZURE_HOST% ACTIVERECORD_UNITTEST_PASS=%CI_AZURE_PASS% ACTIVERECORD_UNITTEST_AZURE=1 TDSVER=7.3
3734environment :
3835 CI_AZURE_HOST :
3936 secure : VChrioaIWkf9iuuaSs4cryiA4honrADgZqNC0++begg=
4037 CI_AZURE_PASS :
4138 secure : cSQp8sk4urJYvq0utpsK+r7J+snJ2wpcdp8RdXJfB+w=
4239 matrix :
43- # - ruby_version: "200-x64 "
44- # - ruby_version: "21-x64 "
40+ - ruby_version : " 200"
41+ - ruby_version : " 22 "
4542 - ruby_version : " 22-x64"
46- on_finish :
47- - find -name tdsdump.log | xargs cat
0 commit comments