forked from xolstice/protobuf-maven-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
30 lines (24 loc) · 1.22 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
version: '{build}'
skip_tags: true
environment:
JAVA_HOME: 'C:\Program Files\Java\jdk1.8.0'
install:
# Prepend Java entry to PATH
- cmd: SET PATH=%JAVA_HOME%\bin;%PATH%
- cmd: SET MAVEN_OPTS=-Xmx2g
- cmd: SET JAVA_OPTS=-Xmx2g
- cmd: java -version
# Set up toolchains for java and protoc
- cmd: if not exist %USERPROFILE%\.m2 mkdir %USERPROFILE%\.m2
- cmd: copy .appveyor\toolchains.xml %USERPROFILE%\.m2\
# Download all dependencies that integration tests might need later
# These include protoc and grpc plugin executables being referenced in toolchains.xml
- cmd: mvnw.cmd -B -V -Dstyle.color=always -Djansi.passthrough=true dependency:go-offline -f src/it/dependencies/pom.xml -P protoc-3.4.0
- cmd: mvnw.cmd -B -V -Dstyle.color=always -Djansi.passthrough=true dependency:go-offline -f src/it/dependencies/pom.xml -P protoc-3.11.1
- cmd: mvnw.cmd -B -V -Dstyle.color=always -Djansi.passthrough=true dependency:go-offline -P run-its
build_script:
- cmd: mvnw.cmd -B -V -Dstyle.color=always -Djansi.passthrough=true clean package -Dmaven.test.skip=true
test_script:
- cmd: mvnw.cmd -B -V -Dstyle.color=always -Djansi.passthrough=true verify -P run-its -Dinvoker.streamLogs=true
cache:
- '%USERPROFILE%\.m2\'