forked from xenon-middleware/xenon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
29 lines (26 loc) · 1.62 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
version: '{branch}-{build}'
build_script:
- cmd: ./gradlew.bat clean assemble
test_script:
- mkdir build\integrationTest & cd build\integrationTest & ..\..\src\liveTest\resources\scripts\create_symlinks.bat & cd ..\..
- cmd: gradlew.bat test liveTest -Dxenon.scheduler=local -Dxenon.scheduler.location=%HomeDrive%\projects\xenon -Dxenon.filesystem=file -Dxenon.filesystem.location=%HomeDrive%\projects\xenon -Dxenon.username=%USERNAME% -Dxenon.filesystem.basedir=\projects\xenon\build\integrationTest -Dxenon.separator=\ -Dxenon.filesystem.expected.workdir=\projects\xenon -Dxenon.scheduler.workdir=\projects\xenon -Dxenon.scheduler.supportsInteractive=1 -Dxenon.scheduler.isEmbedded=1
on_finish:
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- "SET JDK=oraclejdk8"
- .\gradlew.bat jacocoTestReport jacocoLiveTestReport
- pip install codecov
- codecov -e OS,JDK -F unit -f build/reports/jacoco/test/jacocoTestReport.xml
- ps: |
$url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
Get-ChildItem "build/test-results/test/" -Filter *.xml | Foreach-Object{
(New-Object 'System.Net.WebClient').UploadFile($url, $_.FullName)
}
- codecov -e OS,JDK,INTEGRATION_TEST -F livelocal -f build/reports/jacoco/jacocoLiveTestReport/jacocoLiveTestReport.xml
- ps: |
$url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
Get-ChildItem "build/test-results/liveTest/" -Filter *.xml | Foreach-Object{
(New-Object 'System.Net.WebClient').UploadFile($url, $_.FullName)
}
artifacts:
- path: build/distributions/*.zip
name: Java archive