forked from NLog/NLog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
44 lines (30 loc) · 919 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
40
41
42
43
44
version: 4.0.{build}
build_script:
- Msbuild.exe src/NLog.proj /verbosity:minimal /t:BuildTests /p:BuildNetFX35=true /p:BuildNetFX40=true /p:BuildNetFX45=true
test_script:
- ps: >-
.\tests\CreateTestUsers.cmd
xunit.console.clr4 "build\bin\Debug\.NET Framework 4.0\NLog.UnitTests.dll" /appveyor /noshadow
$success = $?
xunit.console.clr4 "build\bin\Debug\.NET Framework 4.5\NLog.UnitTests.dll" /appveyor /noshadow
if ( $success ) {
$success = $?
}
xunit.console.clr4 "build\bin\Debug\.NET Framework 3.5\NLog.UnitTests.dll" /appveyor /noshadow
if ( $success ) {
$success = $?
}
.\tests\DeleteTestUsers.cmd
if ( -not $success) {
throw "tests not successfull"
}
deploy: off
nuget:
project_feed: true
disable_publish_on_pr: true
before_build:
- ps: nuget restore
build:
publish_nuget: true
publish_nuget_symbols: true
verbosity: normal