forked from HangfireIO/Hangfire
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (25 loc) · 834 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Travis-CI Build for Hangfire
# see travis-ci.org for details
language: csharp
sudo: required
# Make sure build dependencies are installed.
install:
- travis_retry nuget install .nuget/packages.config -OutputDirectory packages
- travis_retry nuget restore Hangfire.Mono.sln
cache:
- apt
- directories:
- packages
services:
- redis-server
- rabbitmq
# Run the build script
script:
- xbuild /p:Configuration=Release /verbosity:minimal Hangfire.Mono.sln
- mono ./packages/xunit.runners.1.9.2/tools/xunit.console.clr4.exe ./tests/Hangfire.Core.Tests/bin/Release/Hangfire.Core.Tests.dll
- mono ./packages/xunit.runners.1.9.2/tools/xunit.console.clr4.exe ./tests/Hangfire.SqlServer.RabbitMq.Tests/bin/Release/Hangfire.SqlServer.RabbitMq.Tests.dll
# Only watch the master branch.
branches:
only:
- master
- dev