Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVsevolod Kukol <sevoku@microsoft.com>2017-02-15 12:32:01 +0300
committerVsevolod Kukol <sevoku@microsoft.com>2017-02-15 12:32:01 +0300
commitffc87e4dd857bc3933907a233a8d50b12b870974 (patch)
treefa43cb1b2c963eb080d323eddd3902d8fc68ec17 /appveyor.yml
parenta510ffa937d64ad9cb9e3057ab48892dedcf236a (diff)
Update AppVeyor configuration
* build only master * don't append branch to informational version * disable account feed
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml15
1 files changed, 13 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index c7fa0303..99d6a351 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,25 +1,34 @@
version: 0.2.{build}
+branches:
+ only:
+ - master
skip_tags: true
+
+configuration: Release
platform: Any CPU
+
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
- assembly_informational_version: '{version}-{branch}'
+ assembly_informational_version: '{version}'
+
install:
- if not exist gtk-sharp-2.12.42.msi appveyor DownloadFile https://dl.xamarin.com/GTKforWindows/Windows/gtk-sharp-2.12.42.msi
- msiexec /i gtk-sharp-2.12.42.msi /qn /norestart
- if not exist gtk-sharp-2.99.3.msi appveyor DownloadFile https://download.gnome.org/binaries/win32/gtk-sharp/2.99/gtk-sharp-2.99.3.msi
- msiexec /i gtk-sharp-2.99.3.msi /qn /norestart
+
cache:
- gtk-sharp-2.12.42.msi
- gtk-sharp-2.99.3.msi
- packages
+
nuget:
- account_feed: true
project_feed: true
disable_publish_on_pr: true
+
build_script:
- nuget restore
- msbuild Xwt\Xwt.csproj /target:Build /property:Configuration=Release;Platform=AnyCPU /verbosity:normal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
@@ -38,6 +47,7 @@ build_script:
- NuGet pack Xwt.WPF\Xwt.WPF.csproj -Properties "Configuration=Release;Platform=AnyCPU" -Symbols -OutputDirectory nuget
- NuGet pack Xwt.XamMac\Xwt.XamMac.csproj -Properties "Configuration=Release;Platform=AnyCPU" -Symbols -OutputDirectory nuget
- dir nuget
+
test_script:
- ps: >-
msbuild Xwt.sln /p:Configuration="Win-Debug" /p:Platform="Any Cpu" /verbosity:quiet
@@ -55,6 +65,7 @@ test_script:
nunit-console-x86.exe --framework=4.0 -domain=None -noshadow -nothread Testing\bin\GtkTestRunner.exe
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\TestResult.xml))
+
artifacts:
- path: nuget\*.nupkg
name: Xwt-$(APPVEYOR_BUILD_VERSION) \ No newline at end of file