forked from xolstice/protobuf-maven-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
29 lines (23 loc) · 1.17 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
version: '{build}'
skip_tags: true
environment:
JAVA_HOME: '/Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home'
install:
# Prepend Java entry to PATH
- cmd: export PATH=$JAVA_HOME/bin:$PATH
- cmd: export MAVEN_OPTS=-Xmx2g
- cmd: export JAVA_OPTS=-Xmx2g
- cmd: java -version
# Set up toolchains for java and protoc
- cmd: copy .appveyor/toolchains.xml ~/.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.12.0
- 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:
- '~/.m2/'