forked from line/armeria
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
46 lines (39 loc) · 1.43 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: '{branch}.{build}'
environment:
GRADLE_CLI_OPTS: '--no-daemon --console=rich --stacktrace'
matrix:
- PROFILE: 'java8'
APPVEYOR_BUILD_WORKER_IMAGE: 'bionic'
APPVEYOR_BUILD_WORKER_CLOUD: 'verda'
- PROFILE: 'java11'
APPVEYOR_BUILD_WORKER_IMAGE: 'bionic'
APPVEYOR_BUILD_WORKER_CLOUD: 'verda'
- PROFILE: 'java13'
APPVEYOR_BUILD_WORKER_IMAGE: 'bionic'
APPVEYOR_BUILD_WORKER_CLOUD: 'verda'
- PROFILE: 'windows'
APPVEYOR_BUILD_WORKER_IMAGE: 'Visual Studio 2019'
JAVA_HOME: 'C:\Program Files\Java\jdk12'
matrix:
fast_finish: false
init:
- cmd: 'git config --global core.autocrlf true'
- sh: 'git config --global core.autocrlf input'
build_script:
- cmd: 'gradlew.bat --version'
- cmd: 'gradlew.bat %GRADLE_CLI_OPTS% -PnoCheckstyle -PnoWeb :core:test :grpc:test :thrift:test :it:server:test'
- sh: './.appveyor.build.sh "$PROFILE"'
test: off
on_failure:
- sh: './.appveyor.report.sh "$PROFILE"'
cache:
- "%USERPROFILE%\\AppData\\Local\\Yarn\\cache"
- "%USERPROFILE%\\.gradle\\wrapper\\dists"
- "%USERPROFILE%\\.gradle\\caches\\jars-3"
- "%USERPROFILE%\\.gradle\\caches\\modules-2"
- "%USERPROFILE%\\.gradle\\caches\\package-lists"
- "%USERPROFILE%\\.gradle\\caches\\sphinx-binary"
notifications:
- provider: Slack
incoming_webhook:
secure: uDUySAYLk8RjAL6ZAWd9K/hP9rV1/yYPz26CybZOPFZB7Le4v7/x2byv3HkwEJtxAYFi0RjeVJG4UF9oZfyqfbnyOW4vGZ3KYUJBT1EidEE=