-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
48 lines (36 loc) · 1.18 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
-
branches:
only:
- master
install:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1'))
before_build:
- nuget restore src/WhiteSharp.sln
build_script:
- msbuild src/WhiteSharp.sln /p:Configuration=Release /t:Rebuild
test_script:
- nunit3-console src/WhiteSharp.Tests/bin/Release/WhiteSharp.Tests.dll --noresult
after_build:
- nuget pack "src/WhiteSharp/WhiteSharp.csproj" -Prop Configuration=Release
artifacts:
- path: '*.nupkg'
name: nupkg
deploy:
provider: NuGet
server:
api_key:
secure: 3b6KUYj6PomFOHVvJdG0/i9eYvBCvtwgR+WFOCwl9VM4CrpSa3U9iuT4zWzvDCfw
skip_symbols: false
artifact: nupkg
-
branches:
except:
- master
install:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-desktop.ps1'))
before_build:
- nuget restore src/WhiteSharp.sln
build_script:
- msbuild src/WhiteSharp.sln /p:Configuration=Debug /t:Rebuild
test_script:
- nunit3-console src/WhiteSharp.Tests/bin/Debug/WhiteSharp.Tests.dll --noresult