oxyplot-xamarin/appveyor.yml

98 строки
5.0 KiB
YAML

- # master branch only
branches:
only:
- master
version: 2015.1.{build}
environment:
nuget_api_key:
secure: kM3Kse+ivuuE5RVoe6dPdw+aguWx56K2YeXujGa9tMPQTms3lv7QxNpTLFMALYNa
ftp_user:
secure: Q/t4tRGEtslJG0q4i9QeMw==
ftp_password:
secure: 8Zwx5dScSahnbraTsKTP3g==
install:
- cinst stylecop -y
- cinst LynxToolkit -y
- cinst gtksharp -y
- cinst gitlink -Pre -y
platform: Any CPU
configuration: Release
before_build:
- cmd: UpdateVersionNumbers /Version=%APPVEYOR_BUILD_VERSION% /Dependency=OxyPlot.Core /Dependency=OxyPlot.Wpf /Dependency=OxyPlot.WindowsForms /Dependency=OxyPlot.WindowsUniversal /Dependency=OxyPlot.Silverlight /Dependency=OxyPlot.WP8 /ExtractReleaseNotes=CHANGELOG.md /Directory=Source
- cmd: NuGet restore Source/OxyPlot.AppVeyor.sln
build:
project: Source/OxyPlot.AppVeyor.sln
verbosity: minimal
after_build:
cmd: gitlink c:\projects\oxyplot -u https://github.com/oxyplot/oxyplot -b master -f Source/OxyPlot.AppVeyor.sln -ignore Xwt
artifacts:
- path: Output
name: OxyPlot-$(APPVEYOR_BUILD_VERSION)
type: zip
deploy_script:
- cmd: mkdir Packages
- cmd: NuGet pack Source\OxyPlot.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot\OxyPlot.Core.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.Wpf\OxyPlot.Wpf.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.Windows\OxyPlot.Windows.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.WindowsForms\OxyPlot.WindowsForms.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.WindowsUniversal\OxyPlot.WindowsUniversal.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.WP8\OxyPlot.WP8.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.Silverlight\OxyPlot.Silverlight.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.OpenXml\OxyPlot.OpenXml.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.Pdf\OxyPlot.Pdf.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.GtkSharp\OxyPlot.GtkSharp.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.Xwt\OxyPlot.Xwt.nuspec -OutputDirectory Packages
- cmd: for %%G in (Packages\*.nupkg) do NuGet push %%G %nuget_api_key%
- cmd: FtpUpload ftp.oxyplot.org %ftp_user% %ftp_password% Output\SL5\Examples\Silverlight\ExampleBrowser\ExampleBrowser.xap /ExampleBrowser/ExampleBrowser.xap
- # develop branch only
branches:
only:
- develop
version: 2015.1.{build}-alpha
environment:
version: 2015.1.%APPVEYOR_BUILD_NUMBER%
nuget_api_key:
secure: kM3Kse+ivuuE5RVoe6dPdw+aguWx56K2YeXujGa9tMPQTms3lv7QxNpTLFMALYNa
ftp_user:
secure: Q/t4tRGEtslJG0q4i9QeMw==
ftp_password:
secure: 8Zwx5dScSahnbraTsKTP3g==
install:
- cinst stylecop -y
- cinst LynxToolkit -y
- cinst gtksharp -y
- cinst gitlink -Pre -y
platform: Any CPU
configuration: Release
before_build:
- cmd: git submodule update --init --recursive
- cmd: UpdateVersionNumbers /Version=%version% /PreRelease=alpha /Dependency=OxyPlot.Core /Dependency=OxyPlot.Wpf /Dependency=OxyPlot.WindowsForms /Dependency=OxyPlot.WindowsUniversal /Dependency=OxyPlot.Silverlight /Dependency=OxyPlot.WP8 /ExtractReleaseNotes=CHANGELOG.md /Directory=Source
- cmd: NuGet restore Source/OxyPlot.AppVeyor.sln
build:
project: Source/OxyPlot.AppVeyor.sln
verbosity: normal
after_build:
cmd: gitlink c:\projects\oxyplot -u https://github.com/oxyplot/oxyplot -b develop -f Source/OxyPlot.AppVeyor.sln -ignore Xwt
artifacts:
- path: Output
name: OxyPlot-$(APPVEYOR_BUILD_VERSION)
type: zip
deploy_script:
- cmd: mkdir Packages
- cmd: NuGet pack Source\OxyPlot.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot\OxyPlot.Core.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.Wpf\OxyPlot.Wpf.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.Windows\OxyPlot.Windows.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.WindowsForms\OxyPlot.WindowsForms.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.WindowsUniversal\OxyPlot.WindowsUniversal.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.WP8\OxyPlot.WP8.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.Silverlight\OxyPlot.Silverlight.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.OpenXml\OxyPlot.OpenXml.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.Pdf\OxyPlot.Pdf.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.GtkSharp\OxyPlot.GtkSharp.nuspec -OutputDirectory Packages
- cmd: NuGet pack Source\OxyPlot.Xwt\OxyPlot.Xwt.nuspec -OutputDirectory Packages
- cmd: for %%G in (Packages\*.nupkg) do NuGet push %%G %nuget_api_key%
- cmd: FtpUpload ftp.oxyplot.org %ftp_user% %ftp_password% Output\SL5\Examples\Silverlight\ExampleBrowser\ExampleBrowser.xap /ExampleBrowser/ExampleBrowser.xap