forked from com-lihaoyi/Ammonite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
32 lines (28 loc) · 961 Bytes
/
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
# 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:
- cmd: choco install sbt -ia "INSTALLDIR=""C:\sbt""" --version 0.13.15
- cmd: SET PATH=C:\sbt\bin;%JAVA_HOME%\bin;%PATH%
- cmd: SET SBT_OPTS=-XX:MaxPermSize=2g -Xmx4g
build_script:
- sbt ++2.11.12 ops/compile
- sbt ++2.11.12 amm/compile
- sbt ++2.11.12 integration/compile
test_script:
- sbt ++2.11.12 ops/test
- sbt ++2.11.12 amm/test
- sbt ++2.11.12 integration/test
cache:
- C:\sbt\
- '%USERPROFILE%\.ivy2\cache'
- '%USERPROFILE%\.m2'
- '%USERPROFILE%\.sbt'
- '%LOCALAPPDATA%\Coursier\cache'
- C:\ProgramData\chocolatey\lib -> appveyor.yml
- C:\ProgramData\chocolatey\bin -> appveyor.yml