-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
56 lines (44 loc) · 1.12 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
-
branches:
only:
- nuget
image: Visual Studio 2019
before_build:
- dotnet restore Ghpr.MSTestV2/Ghpr.MSTestV2.sln
build_script:
- dotnet build Ghpr.MSTestV2/Ghpr.MSTestV2.sln /p:Configuration=Release /t:Rebuild
after_build:
- dotnet pack -c Release "Ghpr.MSTestV2/Ghpr.MSTestV2/Ghpr.MSTestV2.csproj" /p:NuspecFile="Ghpr.MSTestV2.nuspec"
artifacts:
- path: '**\*.nupkg'
name: nupkg
deploy:
provider: NuGet
server:
api_key:
secure: crLYbWXNgfrzYazkV18cEBRKnl90ee0wjWUfZGIDhkZcZg1ZlGbbsqRdr8JLmU3O
skip_symbols: false
artifact: nupkg
test:
assemblies:
- '**\*TestsExample.dll'
- '**\*TestsExample2.dll'
categories:
only:
- SuccessCategory
-
branches:
except:
- nuget
image: Visual Studio 2019
before_build:
- dotnet restore Ghpr.MSTestV2/Ghpr.MSTestV2.sln
build_script:
- dotnet build Ghpr.MSTestV2/Ghpr.MSTestV2.sln /p:Configuration=Release /t:Rebuild
test:
assemblies:
- '**\*TestsExample.dll'
- '**\*TestsExample2.dll'
categories:
only:
- SuccessCategory