forked from SagepathSReinhardt/PCLCrypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
41 lines (39 loc) · 1.33 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
40
41
version: 1.0.{build}
os: Visual Studio 2015
configuration: Release
environment:
VisualStudioVersion: 14.0
NuGetApiKey:
secure: Ql19CstT9GvFNeSIAjXvgHXZg+/pNaYJ2jVkzde4LT2vwSyjiQgQ+M332wVYtu+r
cache:
- '%USERPROFILE%\.nuget\packages -> **\project.json'
xamarin:
email: [email protected]
password:
secure: dWaYN3ShMMzKvXN0kx2UTYneK+QKaDHmXGUWvHAo/MI=
android: true
ios: true
install:
- ps: >-
.\Install-Dependencies.ps1
iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/install-nuget-3-3-0.ps1'))
#$blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
before_build:
- ps: nuget restore src -Verbosity quiet
build:
project: src\pclcrypto.sln
parallel: true
verbosity: minimal
artifacts:
- path: bin\**\*.nupkg
name: NuGet Package
test:
assemblies: 'bin\**\PCLCrypto.Tests.Desktop.dll'
on_success:
- ps: >-
if ($env:NuGetApiKey -and $env:APPVEYOR_REPO_TAG_NAME -match "^v\d\.\d") {
Write-Output "Publishing release packages to nuget.org due to pushed tag $env:APPVEYOR_REPO_TAG_NAME"
Get-ChildItem bin\Release\PCLCrypto.NuGet\PCLCrypto.*.nupkg -exclude *.symbols.nupkg |% {
nuget push $_ -ApiKey $env:NuGetApiKey
}
}