forked from alibaba/transmittable-thread-local
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
48 lines (42 loc) · 1.37 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
47
48
# appveyor.yml Reference
# https://www.appveyor.com/docs/appveyor-yml/
#
# How to use AppVeyor to build a multi-arch Docker image for Linux and Windows
# https://stefanscherer.github.io/use-appveyor-to-build-multi-arch-docker-image/
#
# Building ASP.NET Core apps on both Windows and Linux using AppVeyor
# https://andrewlock.net/building-asp-net-core-apps-on-both-windows-and-linux-using-appveyor/
#
# appveyor.yml Example:
# https://github.com/cdcseacave/openMVS/blob/master/.appveyor.yml
version: '{build}'
image: Ubuntu2004
build: false
clone_depth: 50
branches:
except:
- gh-pages
environment:
MAVEN_OPTS: -Xmx1g
JAVA_OPTS: -Xmx1g
install:
- git submodule update --init
test_script:
- scripts/integration-test.sh
after_test:
- PREPARE_JDKS_AUTO_SHOW_LS_JAVA= scripts/codecov.sh -s
# remove self maven install files
- rm -rf $HOME/.m2/repository/com/alibaba/transmittable-thread-local*
- rm -rf $HOME/.m2/repository/com/alibaba/ttl*
# remove install files of maven
# skip rm zip files, because maven wrapper 3.9 will download zip file if absent
# - rm -rf $HOME/.m2/wrapper/dists/*/*/*.zip
# remove install files of sdkman
- rm -rf $HOME/.sdkman/archives/*
- rm -rf $HOME/.sdkman/tmp/*
cache:
# if cache size is exceed appveyor limit:
# Compressed cache item cannot exceed 1,048,576,000 bytes
# skip below maven cache:
- $HOME/.m2/
- $HOME/.sdkman/