forked from scalapb/protoc-bridge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
34 lines (28 loc) · 909 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
33
version: '{build}'
os: Windows Server 2012
environment:
SBT_OPTS: -Dfile.encoding=UTF8
JAVA_OPTS: -Dfile.encoding=UTF8
matrix:
- SCALA_VERSION: 2.10.7
- SCALA_VERSION: 2.11.12
- SCALA_VERSION: 2.12.7
install:
- 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/v0.13.17/sbt-0.13.17.zip',
'C:\sbt-bin-0.13.17.zip'
)
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\sbt-bin-0.13.17.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 "++ %SCALA_VERSION%" compile
test_script:
- sbt "++ %SCALA_VERSION%" test
cache:
- 'C:\sbt -> appveyor.yml'
- '%USERPROFILE%\.ivy2 -> appveyor.yml'