appveyor.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. image: Visual Studio 2017
  2. init:
  3. - git config --global core.autocrlf true
  4. install:
  5. - ps: $env:BuildNumber= $env:APPVEYOR_BUILD_NUMBER
  6. - ps: $env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = true
  7. - ps: $env:NUGET_XMLDOC_MODE = "skip"
  8. - ps: $env:DOTNET_CLI_TELEMETRY_OPTOUT = 1
  9. build_script:
  10. - dotnet --version
  11. - dotnet pack -c Release
  12. test_script:
  13. - dotnet test .\Jint.Tests\Jint.Tests.csproj -c Release -f netcoreapp2.1
  14. - dotnet test .\Jint.Tests.CommonScripts\Jint.Tests.CommonScripts.csproj -c Release -f netcoreapp2.1
  15. - dotnet test .\Jint.Tests.Ecma\Jint.Tests.Ecma.csproj -c Release -f netcoreapp2.1
  16. artifacts:
  17. - path: 'Jint\**\*.nupkg'
  18. deploy:
  19. - provider: NuGet
  20. on:
  21. branch: dev
  22. server: https://www.myget.org/F/jint/api/v2/package
  23. api_key:
  24. secure: 7PQvuxXn5P39X5QDlDKWbNpOKJKivpqkq7umakIirAZ12CSTAiCwjtJhSBGVboPm
  25. skip_symbols: true
  26. artifact: /.*\.nupkg/
  27. - provider: NuGet
  28. on:
  29. branch: rel/3.0-beta
  30. server: https://www.nuget.org/api/v2/package
  31. api_key:
  32. secure: JxLWXrsmfG8K7ECxi5dYFsPZERpRLdi3u5W8RSS/auJ5tzqv+PLCZzUB+yeY1V38
  33. skip_symbols: true
  34. artifact: /.*\.nupkg/
  35. - provider: NuGet
  36. on:
  37. branch: master
  38. server: https://www.nuget.org/api/v2/package
  39. api_key:
  40. secure: JxLWXrsmfG8K7ECxi5dYFsPZERpRLdi3u5W8RSS/auJ5tzqv+PLCZzUB+yeY1V38
  41. skip_symbols: true
  42. artifact: /.*\.nupkg/