forked from checkstyle/contribution
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
80 lines (64 loc) · 1.67 KB
/
.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
version: ~> 1.0
dist: focal
# this arch is required as is for Partner Queue Solution - DO NOT MODIFY
arch: ppc64le
language: java
sudo: false
cache:
apt: true
directories:
- ~/.m2
addons:
apt:
packages:
- xmlstarlet
- ruby
- groovy
- ant-optional
branches:
only:
- master
install:
- gem install mdl
matrix:
fast_finish: true
include:
- jdk: openjdk8
env:
- DESC="markdown lint"
- CMD="./.ci/travis.sh markdownlint"
- jdk: openjdk8
env:
- DESC="releasenotes-builder"
- CMD="./.ci/travis.sh releasenotes-builder"
- jdk: openjdk8
env:
- DESC="patch-diff-report-tool"
- CMD="./.ci/travis.sh patch-diff-report-tool"
- jdk: openjdk8
env:
- DESC="checkstyle-tester (diff.groovy) on linux"
- CMD="./.ci/travis.sh checkstyle-tester-diff-groovy-patch"
- jdk: openjdk8
env:
- DESC="checkstyle-tester (diff.groovy) on linux with base and patch configs"
- CMD="./.ci/travis.sh checkstyle-tester-diff-groovy-base-patch"
- jdk: openjdk8
env:
- DESC="checkstyle-tester (diff.groovy) on linux with enabled patchOnly"
- CMD="./.ci/travis.sh checkstyle-tester-diff-groovy-patch-only"
- jdk: openjdk8
env:
- DESC="codenarc validation for groovy files"
- CMD="./.ci/travis.sh codenarc"
before_script:
- |
if [[ $TRAVIS_CPU_ARCH == 'ppc64le' ]]; then
export JAVA_HOME=/usr/lib/jvm/adoptopenjdk-8-hotspot-ppc64el
export PATH=$JAVA_HOME/bin:$PATH
fi
- groovy --version
script:
- ./.ci/travis.sh update-settings-xml
- eval $CMD
after_success: