1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- 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/
|