added AppVeyor CI for Windows builds
This commit is contained in:
@@ -1,11 +1,17 @@
|
||||
# Hangfire RavenDB
|
||||
|
||||
[](https://travis-ci.org/RefreshingIO/hangfire-ravendb)
|
||||
## Build Status
|
||||
|
||||
`Platform` | `Master`
|
||||
--- | ---
|
||||
**Windows** | [](https://ci.appveyor.com/project/AustinWinstanley/dewey)
|
||||
**Linux / OS X** | [](https://travis-ci.org/RefreshingIO/hangfire-ravendb)
|
||||
|
||||
## Overview
|
||||
|
||||
RavenDB job storage for Hangfire
|
||||
|
||||
Usage
|
||||
--------
|
||||
## Usage
|
||||
|
||||
This is how you connect to a ravendb server (local or remote)
|
||||
```csharp
|
||||
@@ -40,7 +46,7 @@ Recurring jobs were never been simpler, just call the following method to perfor
|
||||
RecurringJob.AddOrUpdate(() => Console.WriteLine("Transparent!"), Cron.Daily);
|
||||
```
|
||||
|
||||
**Continuations**
|
||||
## Continuations
|
||||
|
||||
Continuations allow you to define complex workflows by chaining multiple background jobs together.
|
||||
|
||||
@@ -49,8 +55,7 @@ var id = BackgroundJob.Enqueue(() => Console.WriteLine("Hello, "));
|
||||
BackgroundJob.ContinueWith(id, () => Console.WriteLine("world!"));
|
||||
```
|
||||
|
||||
License
|
||||
--------
|
||||
## License
|
||||
|
||||
Copyright © 2013-2014 Sergey Odinokov.
|
||||
|
||||
@@ -67,7 +72,6 @@ GNU Lesser General Public License for more details.
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses).
|
||||
|
||||
Known Bugs
|
||||
----------
|
||||
## Known Bugs
|
||||
|
||||
Hangfire.Tests requires RavenDB.Client which requires .Net 4.5. Until RavenDB 4.0 is released, Hangfire.Tests cannot be included and run.
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
version: 1.0.{build}
|
||||
|
||||
# branches to build
|
||||
branches:
|
||||
# whitelist
|
||||
only:
|
||||
- master
|
||||
- production
|
||||
|
||||
# blacklist
|
||||
except:
|
||||
- gh-pages
|
||||
|
||||
# build configuration
|
||||
configuration:
|
||||
- Debug
|
||||
- Release
|
||||
|
||||
# build platform
|
||||
platform: Any CPU
|
||||
|
||||
# environment variables
|
||||
environment:
|
||||
# Don't report back to the mothership
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
||||
|
||||
# scripts to run before build
|
||||
before_build:
|
||||
- cmd: appveyor-retry dotnet restore -v Minimal
|
||||
|
||||
# run dotnet cli instead of msbuild
|
||||
build_script:
|
||||
- dotnet build
|
||||
Reference in New Issue
Block a user