You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
817 B

  1. version: 1.0.{build}
  2. os: Visual Studio 2017
  3. clone_depth: 2
  4. configuration: Release
  5. dotnet_csproj:
  6. patch: false
  7. file: '**\*.csproj'
  8. version: '{version}'
  9. package_version: '{version}'
  10. assembly_version: '{version}'
  11. file_version: '{version}'
  12. informational_version: '{version}'
  13. pull_requests:
  14. do_not_increment_build_number: true
  15. environment:
  16. DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
  17. DOTNET_CLI_TELEMETRY_OPTOUT: 1
  18. # scripts to run before build
  19. before_build:
  20. - appveyor-retry dotnet restore -v Minimal
  21. build_script:
  22. - ps: dotnet build -c Release
  23. after_build:
  24. - ps: dotnet pack .\Minio\Minio.csproj --no-build -c Release -o .\artifacts
  25. test_script:
  26. - ps: dotnet test .\Minio.Tests\Minio.Tests.csproj -f netcoreapp2.1
  27. artifacts:
  28. - path: '**\*.nupkg'
  29. name: ReleaseArtifacts
  30. deploy: off