mirror of https://github.com/sbt/sbt.git
31 lines
821 B
YAML
31 lines
821 B
YAML
build: off
|
|
|
|
init:
|
|
- git config --global core.autocrlf input
|
|
|
|
install:
|
|
- cinst jdk8 -params 'installdir=C:\\jdk8'
|
|
- cinst jdk11 -params 'installdir=C:\\jdk11'
|
|
- SET JAVA_HOME=C:\jdk8
|
|
- SET PATH=C:\jdk8\bin;%PATH%
|
|
|
|
- ps: |
|
|
Add-Type -AssemblyName System.IO.Compression.FileSystem
|
|
if (!(Test-Path -Path "C:\sbt" )) {
|
|
(new-object System.Net.WebClient).DownloadFile(
|
|
'https://piccolo.link/sbt-0.13.17.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 -Dfile.encoding=UTF8
|
|
|
|
test_script:
|
|
- sbt "-Dsbt.build.version=1.1.2" universal:packageBin
|
|
- cd citest
|
|
- test.bat
|
|
- test1.bat
|
|
- test2.bat
|
|
- test3/test3.bat
|