try to use java on AppVeyor: step 3
@@ -11,11 +11,18 @@ install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:TARGET}.exe" -FileName "rust-install.exe"
- ps: .\rust-install.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null
- ps: $env:PATH="C:\Program Files\Java\jdk1.8.0\bin;$env:PATH;C:\rust\bin"
+ - ps: $env:JAVA_HOME="C:\Program Files\Java\jdk1.8.0"
- rustc -vV
- cargo -vV
- javac -version
build_script:
- cd macroslib
- cargo build
+ - cd ..\jni_tests
+ - cargo build
+ - cd ..
test_script:
+ - cd macroslib
+ - cargo test
+ - cd ..\jni_tests
- cargo test
