mirror of https://github.com/sbt/sbt.git
31 lines
894 B
YAML
31 lines
894 B
YAML
image:
|
|
- Visual Studio 2015
|
|
- Visual Studio 2017
|
|
build: off
|
|
|
|
init:
|
|
- git config --global core.autocrlf input
|
|
|
|
install:
|
|
- SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0
|
|
- SET PATH=%JAVA_HOME%\bin;%PATH%
|
|
- SET CI=true
|
|
|
|
- ps: |
|
|
Add-Type -AssemblyName System.IO.Compression.FileSystem
|
|
if (!(Test-Path -Path "C:\sbt" )) {
|
|
(new-object System.Net.WebClient).DownloadFile(
|
|
'https://github.com/sbt/sbt/releases/download/v1.0.4/sbt-1.0.4.zip',
|
|
'C:\sbt-bin.zip'
|
|
)
|
|
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\sbt-bin.zip", "C:\sbt")
|
|
}
|
|
- SET PATH=C:\sbt\sbt\bin;%PATH%
|
|
- SET SBT_OPTS=-XX:MaxPermSize=2g -Xmx4g -Dsbt.supershell=never -Dfile.encoding=UTF8
|
|
test_script:
|
|
- sbt "scripted actions/* classloader-cache/* nio/* watch/*" "testOnly sbt.ServerSpec"
|
|
|
|
cache:
|
|
- '%USERPROFILE%\.ivy2\cache'
|
|
- '%USERPROFILE%\.sbt'
|