@@ -19,6 +19,10 @@ install:
1919- curl -L -O -S -s http://downloads.northscale.com/memcached-1.4.5-amd64.zip
2020- 7z x memcached-1.4.5-amd64.zip
2121- ps : $MemCached = Start-Process memcached-amd64\memcached.exe -PassThru
22+ # redis server
23+ - curl -L -O -S -s https://github.com/ServiceStack/redis-windows/blob/master/downloads/redis64-2.8.17.zip?raw=true
24+ - 7z x redis64-2.8.17.zip
25+ - ps : $Redis = Start-Process redis-server.exe redis.windows.conf -PassThru
2226before_build :
2327- which msbuild.exe
2428- nuget restore NHibernate.Caches.Everything.sln
@@ -102,7 +106,7 @@ test_script:
102106 $TestsFailed = $FALSE
103107 #netFx tests
104108 If ($env:TESTS -eq 'net') {
105- @('EnyimMemcached', 'Prevalence', 'RtMemoryCache', 'SysCache', 'SysCache2', 'CoreMemoryCache', 'CoreDistributedCache') | ForEach-Object {
109+ @('EnyimMemcached', 'Prevalence', 'RtMemoryCache', 'SysCache', 'SysCache2', 'CoreMemoryCache', 'CoreDistributedCache', 'StackExRedis' ) | ForEach-Object {
106110 nunit3-console (Join-Path $env:APPVEYOR_BUILD_FOLDER "$_\NHibernate.Caches.$_.Tests\bin\$env:CONFIGURATION\$env:NETTARGETFX\NHibernate.Caches.$_.Tests.dll") "--result=$_-NetTestResult.xml;format=AppVeyor"
107111 If ($LASTEXITCODE -ne 0) {
108112 $TestsFailed = $TRUE
@@ -112,7 +116,7 @@ test_script:
112116
113117 #core tests
114118 If ($env:TESTS -eq 'core') {
115- @('CoreMemoryCache', 'CoreDistributedCache') | ForEach-Object {
119+ @('CoreMemoryCache', 'CoreDistributedCache', 'StackExRedis' ) | ForEach-Object {
116120 dotnet (Join-Path $env:APPVEYOR_BUILD_FOLDER "$_\NHibernate.Caches.$_.Tests\bin\$env:CONFIGURATION\$env:CORETARGETFX\NHibernate.Caches.$_.Tests.dll") --labels=before --nocolor "--result=$_-CoreTestResult.xml"
117121 If ($LASTEXITCODE -ne 0) {
118122 $TestsFailed = $TRUE
@@ -140,3 +144,4 @@ artifacts:
140144 name : Binaries
141145on_finish :
142146- ps : Stop-Process -Id $MemCached.Id
147+ - ps : Stop-Process -Id $Redis.Id
0 commit comments