Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (31 sloc) 1.07 KB
skip_branch_with_pr: true
environment:
HOME: $(HOMEDRIVE)$(HOMEPATH)
cache:
- $(HOME)\.gradle\caches\build-cache-1
- $(HOME)\.gradle\caches\jars-1
- $(HOME)\.gradle\caches\jars-2
- $(HOME)\.gradle\caches\jars-3
- $(HOME)\.gradle\caches\modules-2
- $(HOME)\.gradle\caches\transforms-1
- $(HOME)\.gradle\wrapper\dists
- $(HOME)\.m2\repository
clone_depth: 50
configuration:
- Java8
- Java9
# Do something useful here to override the default MSBuild (which would fail otherwise).
build_script:
- if not exist %HOME%\.gradle mkdir %HOME%\.gradle
- if %CONFIGURATION%==Java9 echo org.gradle.java.home=C:/Program Files/Java/jdk9>%HOME%\.gradle\gradle.properties
- gradlew --info
test_script:
- gradlew test
on_finish:
- gradlew --stop # Fix "fileHashes.bin" being used by another process.
- ps: |
$url = "https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)"
$pattern = '**\build\test-results\**\TEST-*.xml'
foreach ($file in (Resolve-Path $pattern)) {
(New-Object 'System.Net.WebClient').UploadFile($url, $file)
}
You can’t perform that action at this time.