@@ -19,6 +19,10 @@ install:
19
19
- curl -L -O -S -s http://downloads.northscale.com/memcached-1.4.5-amd64.zip
20
20
- 7z x memcached-1.4.5-amd64.zip
21
21
- 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
22
26
before_build :
23
27
- which msbuild.exe
24
28
- nuget restore NHibernate.Caches.Everything.sln
@@ -102,7 +106,7 @@ test_script:
102
106
$TestsFailed = $FALSE
103
107
#netFx tests
104
108
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 {
106
110
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"
107
111
If ($LASTEXITCODE -ne 0) {
108
112
$TestsFailed = $TRUE
@@ -112,7 +116,7 @@ test_script:
112
116
113
117
#core tests
114
118
If ($env:TESTS -eq 'core') {
115
- @('CoreMemoryCache', 'CoreDistributedCache') | ForEach-Object {
119
+ @('CoreMemoryCache', 'CoreDistributedCache', 'StackExRedis' ) | ForEach-Object {
116
120
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"
117
121
If ($LASTEXITCODE -ne 0) {
118
122
$TestsFailed = $TRUE
@@ -140,3 +144,4 @@ artifacts:
140
144
name : Binaries
141
145
on_finish :
142
146
- ps : Stop-Process -Id $MemCached.Id
147
+ - ps : Stop-Process -Id $Redis.Id
0 commit comments