-
-
Notifications
You must be signed in to change notification settings - Fork 564
/
_appveyor.yml
56 lines (53 loc) · 1.77 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
image: Visual Studio 2019
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
branches:
only:
- master
- dev
- rel/3.0-beta
init:
- git config --global core.autocrlf true
install:
- ps: $env:BuildNumber= $env:APPVEYOR_BUILD_NUMBER
- ps: $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = true
- ps: $env:NUGET_XMLDOC_MODE = "skip"
- ps: $env:DOTNET_CLI_TELEMETRY_OPTOUT = 1
- ps: $IsReleaseBranch = ($env:APPVEYOR_REPO_BRANCH -eq "master" -Or $env:APPVEYOR_REPO_BRANCH -eq "rel/3.0-beta")
build_script:
# Ensure we are not using the myget feed for dependencies
- ps: if ($IsReleaseBranch) { copy NuGet.release.config NuGet.config }
- dotnet --version
- dotnet pack -c Release
test_script:
- dotnet test .\Jint.Tests\Jint.Tests.csproj -c Release
- dotnet test .\Jint.Tests.CommonScripts\Jint.Tests.CommonScripts.csproj -c Release
- dotnet test .\Jint.Tests.Ecma\Jint.Tests.Ecma.csproj -c Release
- dotnet test .\Jint.Tests.Test262\Jint.Tests.Test262.csproj -c Release
artifacts:
- path: 'Jint\**\*.*nupkg'
deploy:
- provider: NuGet
on:
branch: dev
server: https://www.myget.org/F/jint/api/v2/package
api_key:
secure: 7PQvuxXn5P39X5QDlDKWbNpOKJKivpqkq7umakIirAZ12CSTAiCwjtJhSBGVboPm
skip_symbols: true
artifact: /.*\.nupkg/
- provider: NuGet
on:
branch: rel/3.0-beta
server: https://www.nuget.org/api/v2/package
api_key:
secure: qZ6R8U4mtBXFVRhhNLJyRz3bktF/jL5BvzrCQsXcn6ATRQ4YavFP3By8Sg4hYMH5
skip_symbols: true
artifact: /.*\.nupkg/
- provider: NuGet
on:
branch: master
server: https://www.nuget.org/api/v2/package
api_key:
secure: yZBBCLlJTphpHCezRUxyDny1mBbDw7xFG/2Rwt21A8khKp6KJCxFEYx4k9IihOjO
skip_symbols: true
artifact: /.*\.nupkg/