Skip to content

Commit c627c44

Browse files
committed
= change AppVeyor ci image order
1 parent 82b0ef2 commit c627c44

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

appveyor.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
version: '{build}'
1111
image:
12-
- Visual Studio 2017
1312
- Ubuntu2004
13+
- Visual Studio 2017
1414
build: false
1515
clone_depth: 50
1616
branches:
@@ -22,6 +22,27 @@ environment:
2222
APPVEYOR_YML_DISABLE_PS_LINUX: true
2323

2424
for:
25+
-
26+
#------------------
27+
# Ubuntu
28+
#------------------
29+
matrix:
30+
only:
31+
- image: Ubuntu2004
32+
init:
33+
- sh: export MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=128m -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"
34+
- sh: export JAVA_OPTS="-Xmx768m -XX:MaxPermSize=128m"
35+
36+
test_script:
37+
- sh: ./scripts/integration-test.sh
38+
39+
after_test:
40+
- sh: ./scripts/codecov.sh
41+
- sh: rm -rf /home/appveyor/.m2/repository/com/alibaba/dns-cache-manipulator*
42+
43+
cache:
44+
- /home/appveyor/.m2/
45+
- /home/appveyor/.sdkman/
2546
-
2647
#------------------
2748
# Windows
@@ -51,24 +72,3 @@ for:
5172

5273
cache:
5374
- C:\Users\appveyor\.m2\
54-
-
55-
#------------------
56-
# Ubuntu
57-
#------------------
58-
matrix:
59-
only:
60-
- image: Ubuntu2004
61-
init:
62-
- sh: export MAVEN_OPTS="-Xmx768m -XX:MaxPermSize=128m -Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2"
63-
- sh: export JAVA_OPTS="-Xmx768m -XX:MaxPermSize=128m"
64-
65-
test_script:
66-
- sh: ./scripts/integration-test.sh
67-
68-
after_test:
69-
- sh: ./scripts/codecov.sh
70-
- sh: rm -rf /home/appveyor/.m2/repository/com/alibaba/dns-cache-manipulator*
71-
72-
cache:
73-
- /home/appveyor/.m2/
74-
- /home/appveyor/.sdkman/

0 commit comments

Comments
 (0)