improve Windows build

This commit is contained in:
Eugene Yokota 2018-01-31 00:04:23 -05:00
parent 1f9a8bf310
commit 0221858217
1 changed files with 6 additions and 3 deletions

View File

@ -4,9 +4,8 @@ init:
- git config --global core.autocrlf input
install:
- cinst jdk8 -params 'installdir=C:\\jdk8'
- SET JAVA_HOME=C:\jdk8
- SET PATH=C:\jdk8\bin;%PATH%
- SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0
- SET PATH=%JAVA_HOME%\bin;%PATH%
- ps: |
Add-Type -AssemblyName System.IO.Compression.FileSystem
@ -21,3 +20,7 @@ install:
- SET SBT_OPTS=-XX:MaxPermSize=2g -Xmx4g -Dfile.encoding=UTF8
test_script:
- sbt "scripted actions/*" "testOnly sbt.ServerSpec"
cache:
- '%USERPROFILE%\.ivy2\cache'
- '%USERPROFILE%\.sbt'