Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Fixing appveyor multiple branch regression.
Browse files Browse the repository at this point in the history
  • Loading branch information
techyian committed Jan 24, 2019
1 parent 7afd164 commit acb0af5
Showing 1 changed file with 37 additions and 18 deletions.
55 changes: 37 additions & 18 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
version: '0.5.0.{build}'

# prevent the double build when a branch has an active PR
skip_branch_with_pr: true

#Dev
-
version: '0.5.0.{build}'

# prevent the double build when a branch has an active PR
skip_branch_with_pr: true

os: Visual Studio 2017
os: Visual Studio 2017

artifacts:
- path: '**\MMALSharp*.nupkg'
artifacts:
- path: '**\MMALSharp*.nupkg'

before_build:
- dotnet --info
- dotnet restore src\MMALSharp\MMALSharp.csproj
- dotnet restore src\MMALSharp.Common\MMALSharp.Common.csproj
- dotnet restore src\MMALSharp.FFmpeg\MMALSharp.FFmpeg.csproj
- dotnet restore src\MMALSharp.Processing\MMALSharp.Processing.csproj
- dotnet restore tests\MMALSharp.Tests\MMALSharp.Tests.csproj
before_build:
- dotnet --info
- dotnet restore src\MMALSharp\MMALSharp.csproj
- dotnet restore src\MMALSharp.Common\MMALSharp.Common.csproj
- dotnet restore src\MMALSharp.FFmpeg\MMALSharp.FFmpeg.csproj
- dotnet restore src\MMALSharp.Processing\MMALSharp.Processing.csproj
- dotnet restore tests\MMALSharp.Tests\MMALSharp.Tests.csproj

test: off
test: off

#Dev
-
# branches to build
branches:
only:
Expand Down Expand Up @@ -51,6 +49,27 @@ test: off

#Release
-

version: '0.5.0.{build}'

# prevent the double build when a branch has an active PR
skip_branch_with_pr: true

os: Visual Studio 2017

artifacts:
- path: '**\MMALSharp*.nupkg'

before_build:
- dotnet --info
- dotnet restore src\MMALSharp\MMALSharp.csproj
- dotnet restore src\MMALSharp.Common\MMALSharp.Common.csproj
- dotnet restore src\MMALSharp.FFmpeg\MMALSharp.FFmpeg.csproj
- dotnet restore src\MMALSharp.Processing\MMALSharp.Processing.csproj
- dotnet restore tests\MMALSharp.Tests\MMALSharp.Tests.csproj

test: off

# branches to build
branches:
only:
Expand Down

0 comments on commit acb0af5

Please sign in to comment.