forked from minio/minio-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
39 lines (30 loc) · 817 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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