From a1a98819dfbd4e816947a046b4e89e0b06cc2ab7 Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Mon, 27 Feb 2017 12:23:04 +0100 Subject: [PATCH] change build-order --- appveyor.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 83556f77..9be00a3e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,17 +20,23 @@ environment: before_build: - appveyor-retry dotnet restore .\src\WireMock.Net -v Minimal -- appveyor-retry dotnet restore .\test\WireMock.Net.Tests -v Minimal - nuget restore .\examples\WireMock.Net.ConsoleApplication\WireMock.Net.ConsoleApplication.csproj -PackagesDirectory packages build_script: +# build WireMock.Net - dotnet build .\src\WireMock.Net\project.json -c %CONFIGURATION% + +# restore and build WireMock.Net.Tests +- appveyor-retry dotnet restore .\test\WireMock.Net.Tests -v Minimal - dotnet build .\test\WireMock.Net.Tests\project.json -c %CONFIGURATION% + +# build WireMock.Net.ConsoleApplication - cmd: msbuild .\examples\WireMock.Net.ConsoleApplication\WireMock.Net.ConsoleApplication.csproj /p:Configuration=%CONFIGURATION% /p:Platform=AnyCPU - dotnet pack -c %CONFIGURATION% --no-build --version-suffix %LABEL% -o .\artifacts .\src\WireMock.Net\project.json test_script: +# test WireMock.Net.Tests - dotnet test -c %CONFIGURATION% --no-build .\test\WireMock.Net.Tests after_test: