Add Windows testing

This commit is contained in:
Eugene Yokota 2017-12-18 23:07:25 -05:00
parent db2c54d11d
commit ec5bdc2381
1 changed files with 26 additions and 0 deletions

26
.appveyor.yml Normal file
View File

@ -0,0 +1,26 @@
build: off
init:
- git config --global core.autocrlf input
install:
- cinst nodejs -params 'installdir=C:\\nodejs'
- SET PATH=C:\nodejs\bin;%PATH%
- cinst jdk8 -params 'installdir=C:\\jdk8'
- 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://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 -Dfile.encoding=UTF8
test_script:
- sbt "scripted actions/*"
- sbt "scripted server/*"