forked from com-lihaoyi/Ammonite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
34 lines (30 loc) · 1.07 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Adapted from https://github.com/sbt/sbt-native-packager/blob/master/appveyor.yml
version: '{build}'
os: Windows Server 2012
# To make the extended ascii characters work on Windows
# we need to set string encoding for jvm to utf-8 on windows
environment:
SBT_OPTS: -Dfile.encoding=UTF8
JAVA_OPTS: -Dfile.encoding=UTF8
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 ++2.11.7 ops/compile
- sbt ++2.11.7 amm/compile
- sbt ++2.11.7 integration/compile
# - sbt ++2.10.6 ops/compile
test_script:
- sbt ++2.11.7 ops/test
- sbt ++2.11.7 amm/test
- sbt ++2.11.7 integration/test
# - sbt ++2.10.6 ops/test