forked from real-logic/artio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
49 lines (43 loc) · 1.21 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
image:
- ubuntu
- Visual Studio 2017
stack: jdk 8
# disable msbuild
build: off
test_script:
- ./gradlew -Dfix.core.debug=FIX_TEST
after_test:
- sh: |
git clone https://github.com/quickfix-j/quickfixj.git
git clone https://github.com/real-logic/fix-integration.git
cd fix-integration
./gradlew
on_finish:
- sh: |
find "$APPVEYOR_BUILD_FOLDER" -type f -name 'TEST*.xml' -print0 | xargs -0 -I '{}' curl -k -F 'file=@{}' "https://ci.appveyor.com/api/testresults/junit/$APPVEYOR_JOB_ID"
- ps: |
if ($isWindows)
{
try
{
$wc = New-Object 'System.Net.WebClient'
$files = gci . -Recurse -name -include "TEST-*.xml"
echo "$($env:APPVEYOR_JOB_ID)"
foreach ($file in $files)
{
echo "Uploading $file"
$wc.UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path "$file"))
}
}
catch [Exception]
{
echo $_.Exception|format-list -force
}
}
notifications:
- provider: Email
to:
on_build_success: false
on_build_failure: true
on_build_status_changed: true