forked from marcoCasamento/Hangfire.Redis.StackExchange
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
16 lines (16 loc) · 869 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
sudo: required
services:
- redis-server
language: csharp
solution: Hangfire.Redis.StackExchange.sln
before_install:
- git clone https://github.com/StackExchange/StackExchange.Redis.git
- xbuild /p:Configuration=Release ./StackExchange.Redis/StackExchange.Redis/StackExchange.Redis.csproj
install:
- nuget restore Hangfire.Redis.StackExchange.sln
- nuget install xunit.runner.console -OutputDirectory testrunner
script:
- xbuild /p:Configuration=Release Hangfire.Redis.StackExchange.sln
- cp -av ./testrunner/xunit.runner.console.2.0.0/tools/* ./Hangfire.Redis.Tests/bin/Release/
- cp ./StackExchange.Redis/StackExchange.Redis/bin/Release/StackExchange.Redis.dll ./Hangfire.Redis.Tests/bin/Release/
- mono ./Hangfire.Redis.Tests/bin/Release/xunit.console.x86.exe ./Hangfire.Redis.Tests/bin/Release/Hangfire.Redis.Tests.dll -parallel none -maxthreads 1