From 638558132f248f03216eb4aea43d4e71ed2b060e Mon Sep 17 00:00:00 2001 From: Nepomuk Seiler Date: Sun, 15 Feb 2015 12:28:16 +0100 Subject: [PATCH] Using the complicated version. Need to find maintainer for chocolatey sbt --- appveyor.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 6e061cc30..c9958ceec 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,18 @@ version: '{build}' os: Windows Server 2012 install: - - choco install sbt + - ps: | + Add-Type -AssemblyName System.IO.Compression.FileSystem + if (!(Test-Path -Path "C:\sbt" )) { + (new-object System.Net.WebClient).DownloadFile( + 'https://dl.bintray.com/sbt/native-packages/sbt/0.13.7/sbt-0.13.7.zip', + 'C:\sbt-bin.zip' + ) + [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\sbt-bin.zip", "C:\sbt") + } + - cmd: SET PATH=C:\sbt\sbt\bin;%JAVA_HOME%\bin;%PATH% + - cmd: SET SBT_OPTS=-XX:MaxPermSize=2g -Xmx4g + - cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g build_script: - sbt clean compile test_script: