forked from scalameta/scalafmt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
28 lines (28 loc) · 947 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
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 clean intellij/updateIdea compile
test_script:
- sbt test readme/run scripted
cache:
- C:\sbt\
- C:\Users\appveyor\.m2
- C:\Users\appveyor\.ivy2
- C:\Users\appveyor\.coursier