Skip to content

Commit 451c6a3

Browse files
committed
Fixed build for Debug_Lite configuration
1 parent a9de852 commit 451c6a3

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

appveyor.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,34 @@ artifacts:
3030

3131
image: Visual Studio 2017
3232

33-
test_script:
34-
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"nunit3-console.exe" -targetargs:"MLAPI-Tests\bin\Debug\MLAPI-Tests.dll" -output:"coverage.xml" -filter:"+[MLAPI*]* -[MLAPI-Tests*]* "
3533

34+
for:
35+
-
36+
matrix:
37+
only:
38+
- configuration: Debug
3639

37-
after_test:
40+
test_script:
41+
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"nunit3-console.exe" -targetargs:"MLAPI-Tests\bin\Debug\MLAPI-Tests.dll" -output:"coverage.xml" -filter:"+[MLAPI*]* -[MLAPI-Tests*]* "
42+
after_test:
3843
- ps: |
3944
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
4045
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
4146
bash codecov.sh -f "coverage.xml"
47+
-
48+
matrix:
49+
only:
50+
- configuration: Debug_Lite
51+
52+
test_script:
53+
- .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"nunit3-console.exe" -targetargs:"MLAPI-Tests\bin\Lite\Debug\MLAPI-Tests.dll" -output:"coverage.xml" -filter:"+[MLAPI*]* -[MLAPI-Tests*]* "
54+
after_test:
55+
- ps: |
56+
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
57+
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
58+
bash codecov.sh -f "coverage.xml"
59+
60+
61+
62+
#test_script:
63+
# - .\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe -returntargetcode -register:user -target:"nunit3-console.exe" -targetargs:"MLAPI-Tests\bin\Debug\MLAPI-Tests.dll" -output:"coverage.xml" -filter:"+[MLAPI*]* -[MLAPI-Tests*]* "

0 commit comments

Comments
 (0)