forked from alibaba/COLA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
49 lines (43 loc) · 1.39 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
49
# 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: "-Xmx768m -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"
JAVA_OPTS: "-Xmx768m"
install:
- git submodule update --init
test_script:
- scripts/integration_test
after_test:
# clear self maven install files
- rm -rf $HOME/.m2/repository/com/alibaba/cola
- rm -rf $HOME/.m2/repository/com/alibaba/craftsman
- rm -rf $HOME/.m2/repository/com/alibaba/demo
- rm -rf $HOME/.m2/repository/org/huawei/charge
# 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/