Skip to content

Commit

Permalink
Update appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pieceofsummer committed Oct 25, 2016
1 parent 461d0b5 commit 62d6009
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,31 @@
version: 1.0.0-{build}

os: Visual Studio 2015

nuget:
account_feed: true

branches:
only:
- master
- dev

pull_requests:
do_not_increment_build_number: true

init:
- git config --global core.autocrlf true

before_build:
- cmd: dotnet restore --no-cache

build_script:
- cmd: echo Version %APPVEYOR_BUILD_VERSION%
- cmd: dotnet build src/Hangfire.Console --configuration Release --version-suffix %APPVEYOR_BUILD_VERSION%
- cmd: dotnet build tests/Hangfire.Console.Tests --configuration Release --version-suffix %APPVEYOR_BUILD_VERSION%
- ps:
- cmd: dotnet build src/Hangfire.Console --configuration Release --version-suffix %APPVEYOR_BUILD_NUMBER%
- cmd: dotnet build tests/Hangfire.Console.Tests --configuration Release --version-suffix %APPVEYOR_BUILD_NUMBER%

after_build:
- cmd: dotnet pack src/Hangfire.Console --configuration Release --version-suffix %APPVEYOR_BUILD_NUMBER%

test_script:
- cmd: dotnet test tests/Hangfire.Console.Tests

0 comments on commit 62d6009

Please sign in to comment.