From 1534725344e3a051d71982b76cb0552c5daf914f Mon Sep 17 00:00:00 2001 From: Alexandre Archambault Date: Tue, 7 Jul 2015 19:43:17 +0100 Subject: [PATCH] Add appveyor config --- appveyor.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 000000000..160fd34e3 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,23 @@ +# Adapted from https://github.com/sbt/sbt-native-packager/blob/master/appveyor.yml +version: '{build}' +os: Windows Server 2012 +install: + - 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.8/sbt-0.13.8.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 +build_script: + - sbt clean compile publish-local +test_script: + - sbt core-jvm/test # Would node be around for core-js/test? +cache: + - C:\sbt\ + - C:\Users\appveyor\.m2 + - C:\Users\appveyor\.ivy2