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
39 lines
817 B
version: 1.0.{build}
|
|
os: Visual Studio 2017
|
|
clone_depth: 2
|
|
configuration: Release
|
|
|
|
dotnet_csproj:
|
|
patch: false
|
|
file: '**\*.csproj'
|
|
version: '{version}'
|
|
package_version: '{version}'
|
|
assembly_version: '{version}'
|
|
file_version: '{version}'
|
|
informational_version: '{version}'
|
|
|
|
pull_requests:
|
|
do_not_increment_build_number: true
|
|
|
|
environment:
|
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
|
DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
|
|
|
# scripts to run before build
|
|
before_build:
|
|
- appveyor-retry dotnet restore -v Minimal
|
|
|
|
build_script:
|
|
- ps: dotnet build -c Release
|
|
|
|
after_build:
|
|
- ps: dotnet pack .\Minio\Minio.csproj --no-build -c Release -o .\artifacts
|
|
|
|
test_script:
|
|
- ps: dotnet test .\Minio.Tests\Minio.Tests.csproj -f netcoreapp2.1
|
|
|
|
artifacts:
|
|
- path: '**\*.nupkg'
|
|
name: ReleaseArtifacts
|
|
|
|
deploy: off
|