forked from checkstyle/checkstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (41 loc) · 1007 Bytes
/
.travis.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
50
version: ~> 1.0
dist: focal
# this arch is required as is for Partner Queue Solution - DO NOT MODIFY
arch: ppc64le
language: java
cache:
directories:
- ~/.m2
- ~/.ivy2
branches:
only:
- master
before_install:
- sudo apt update
install:
- sudo apt install -y xmlstarlet
jobs:
fast_finish: true
include:
# this job do deploy maven repository
# unit tests (openjdk11)
- jdk: openjdk11
env:
- DESC="tests and deploy"
- CMD="mvn -e --no-transfer-progress clean integration-test failsafe:verify
-DargLine='-Xms1024m -Xmx2048m'"
- DEPLOY="true"
- USE_MAVEN_REPO="true"
before_script:
- java --version
script:
- ./.ci/travis.sh init-m2-repo
- ./.ci/travis.sh run-command "$CMD"
- ./.ci/validation.sh git-diff
- ./.ci/validation.sh ci-temp-check
- ./.ci/travis.sh quarterly-cache-cleanup
- sleep 5s
after_success:
- ./.ci/travis.sh run-command-after-success
- ./.ci/travis.sh deploy-snapshot
- sleep 5s