-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
39 lines (32 loc) · 1.4 KB
/
appveyor.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
32
33
34
35
36
37
38
39
branches:
only:
- master
version: 0.1.{build}-ci
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
os: Visual Studio 2015
install:
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
before_build:
nuget restore "Sancho.XAMLParser.AppVeyor.sln"
configuration: Release
platform: Any CPU
build:
parallel: true
project: src/Sancho.XAMLParser/Sancho.XAMLParser.csproj
verbosity: minimal
after_build:
- ps: msbuild "src/Sancho.XAMLParser/Sancho.XAMLParser.csproj" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- ps: msbuild "src/Sancho.DOM.XamarinForms/Sancho.DOM.XamarinForms.csproj" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- ps: msbuild "tests/Sancho.DOM.XamarinForms.Tests/Sancho.DOM.XamarinForms.Tests.csproj" /m /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- ps: nuget pack src/Sancho.XAMLParser/Sancho.XAMLParser.csproj -Version $env:APPVEYOR_BUILD_VERSION -IncludeReferencedProjects
- ps: nuget pack src/Sancho.DOM.XamarinForms/Sancho.DOM.XamarinForms.csproj -Version $env:APPVEYOR_BUILD_VERSION -IncludeReferencedProjects
artifacts:
- path: '**\Sancho.*.nupkg'
test:
assemblies:
- '**\*.tests.dll'