forked from fsprojects/Paket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
50 lines (45 loc) · 1.26 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
image: Visual Studio 2017
init:
- git config --global core.autocrlf input
build_script:
- cmd: build.cmd BuildPackage
test: off
version: 0.0.1.{build}
artifacts:
- path: bin
name: bin
- path: bin_netcore
name: bin_netcore
- path: 'temp\*.nupkg'
type: NuGetPackage
nuget:
account_feed: false
project_feed: true
environment:
matrix:
# run .net integration tests
- SkipIntegrationTestsNetCore: true
PAKET_TESTSUITE_FLAKYTESTS: false
# run .net core integration tests
- SkipIntegrationTestsNet: true
PAKET_TESTSUITE_FLAKYTESTS: false
# just flaky tests
- PAKET_TESTSUITE_FLAKYTESTS: true
matrix:
allow_failures:
- PAKET_TESTSUITE_FLAKYTESTS: true
on_finish:
- ps: >-
$wc = New-Object 'System.Net.WebClient';
$testResults = @(
'.\tests_result\net\Paket.Tests\TestResult.xml'
'.\tests_result\net\Paket.IntegrationTests\TestResult.xml'
'.\tests_result\netcore\Paket.Tests\TestResult.trx'
'.\tests_result\netcore\Paket.IntegrationTests\TestResult.trx'
)
- ps: >-
Foreach ($path in $testResults) {
If (Test-Path $path) {
$wc.UploadFile("https://ci.appveyor.com/api/testresults/nunit3/$($env:APPVEYOR_JOB_ID)", (Resolve-Path $path))
}
}