forked from hardkoded/puppeteer-sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor-fullframework.yml
41 lines (37 loc) · 1.26 KB
/
appveyor-fullframework.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}
branches:
only:
- master
image: Visual Studio 2017
configuration: Release
environment:
git_access_token:
secure: FxcQ9C8a/NgcQB5dFdZts6ZWEDT4zMhA4qPQAYwWc7huMmhmTIl1sbFEIaAWQMTL
matrix:
- framework: net471
only_commits:
files:
- lib/PuppeteerSharp.AspNetFramework/
- appveyor-fullframework.yml
before_build:
- ps: >-
dotnet restore .\lib\PuppeteerSharp.sln
New-SelfSignedCertificate -Subject "localhost" -FriendlyName "Puppeteer" -CertStoreLocation "cert:\CurrentUser\My"
Get-ChildItem -Path cert:\CurrentUSer\my | where { $_.friendlyname -eq "Puppeteer" } | Export-Certificate -FilePath C:\projects\puppeteer-sharp\lib\PuppeteerSharp.TestServer\testCert.cer
build:
project: .\lib\PuppeteerSharp.sln
publish_nuget: false
include_nuget_references: true
verbosity: minimal
after_build:
- cmd: >-
nuget pack C:\projects\puppeteer-sharp\lib\PuppeteerSharp.AspNetFramework\PuppeteerSharp.AspNetFramework.csproj -Prop Configuration=Release
artifacts:
- path: .\lib\PuppeteerSharp.AspNetFramework.*.nupkg
name: PuppeteerSharp.AspNetFramework Package
test_script:
- cmd: >-
cd C:\projects\puppeteer-sharp\lib\PuppeteerSharp.Tests
dotnet test -f %framework% -s test.runsettings
cache:
- $HOME/.nuget/packages