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.33 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:
APPVEYOR_YML_DISABLE_PS_LINUX: true
MAVEN_OPTS: "-Xmx1g -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"
JAVA_OPTS: "-Xmx1g"
install:
- git submodule update --init
test_script:
- scripts/integration-test.sh
after_test:
- 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 maven install files
- rm -rf $HOME/.m2/wrapper/dists/*/*/*.zip
# remove sdkman install files
- 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/