123456789101112131415161718192021222324252627282930313233343536373839404142 |
- image: Visual Studio 2017
- 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
- build_script:
- - dotnet --version
- - dotnet pack -c Release
- test_script:
- - dotnet test .\Jint.Tests\Jint.Tests.csproj -c Release -f netcoreapp2.1
- - dotnet test .\Jint.Tests.CommonScripts\Jint.Tests.CommonScripts.csproj -c Release -f netcoreapp2.1
- - dotnet test .\Jint.Tests.Ecma\Jint.Tests.Ecma.csproj -c Release -f netcoreapp2.1
- 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: JxLWXrsmfG8K7ECxi5dYFsPZERpRLdi3u5W8RSS/auJ5tzqv+PLCZzUB+yeY1V38
- skip_symbols: true
- artifact: /.*\.nupkg/
- - provider: NuGet
- on:
- branch: master
- server: https://www.nuget.org/api/v2/package
- api_key:
- secure: JxLWXrsmfG8K7ECxi5dYFsPZERpRLdi3u5W8RSS/auJ5tzqv+PLCZzUB+yeY1V38
- skip_symbols: true
- artifact: /.*\.nupkg/
|