sbt/.appveyor.yml

30 lines
910 B
YAML
Raw Normal View History

2019-09-19 19:37:11 +02:00
image: Visual Studio 2017
2017-12-19 05:07:25 +01:00
build: off
init:
- git config --global core.autocrlf input
install:
2018-01-31 06:04:23 +01:00
- SET JAVA_HOME=C:\Program Files\Java\jdk1.8.0
- SET PATH=%JAVA_HOME%\bin;%PATH%
- SET CI=true
2017-12-19 05:07:25 +01:00
- 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
2017-12-19 05:07:25 +01:00
test_script:
- sbt "scripted actions/* classloader-cache/* nio/* watch/*" "testOnly sbt.ServerSpec"
2018-01-31 06:04:23 +01:00
cache:
- '%LOCALAPPDATA%\Coursier\Cache\v1'
2018-01-31 06:04:23 +01:00
- '%USERPROFILE%\.ivy2\cache'
- '%USERPROFILE%\.sbt'