forked from checkstyle/checkstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shippable.yml
50 lines (44 loc) · 1.93 KB
/
shippable.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
language: java
jdk:
- oraclejdk8
env:
matrix:
- PROFILE="-Ppitest-checkstyle-common,no-validations"
- PROFILE="-Ppitest-checkstyle-main,no-validations"
- PROFILE="-Ppitest-checkstyle-tree-walker,no-validations"
- PROFILE="-Ppitest-checkstyle-api,no-validations"
- PROFILE="-Ppitest-checkstyle-filters,no-validations"
- PROFILE="-Ppitest-checkstyle-utils,no-validations"
- PROFILE="-Ppitest-checks-annotation,no-validations"
- PROFILE="-Ppitest-checks-blocks,no-validations"
- PROFILE="-Ppitest-checks-coding,no-validations"
- PROFILE="-Ppitest-checks-design,no-validations"
- PROFILE="-Ppitest-checks-header,no-validations"
- PROFILE="-Ppitest-checks-imports,no-validations"
- PROFILE="-Ppitest-checks-indentation,no-validations"
- PROFILE="-Ppitest-checks-javadoc,no-validations"
- PROFILE="-Ppitest-checks-metrics,no-validations"
- PROFILE="-Ppitest-checks-modifier,no-validations"
- PROFILE="-Ppitest-checks-naming,no-validations"
- PROFILE="-Ppitest-checks-regexp,no-validations"
- PROFILE="-Ppitest-checks-sizes,no-validations"
- PROFILE="-Ppitest-checks-whitespace,no-validations"
- PROFILE="-Ppitest-checks-misc,no-validations"
- PROFILE="-Ppitest-checkstyle-gui,no-validations"
branches:
only:
- master
build:
cache: true
cache_dir_list:
- /root/.m2
ci:
# we skip PRs and commits that are not for Issues, as pitest is too time consuming
- |
SKIP_FILES="appveyor.yml|circle.yml|distelli-manifest.yml|.travis.yml|wercker.yml|fast-forward-merge.sh|LICENSE|LICENSE.apache20|README.md|release.sh|RIGHTS.antlr|intellij-idea-inspections.xml"
SKIP_CI=$(if [[ $(git diff --name-only HEAD HEAD~1 | grep -vE "$SKIP_FILES" | cat | wc -c) > 0 ]]; then echo false; else echo true; fi;)
echo "SKIP_CI="$SKIP_CI
if [[ $SKIP_CI == 'false' ]];
then
mvn $PROFILE clean verify org.pitest:pitest-maven:mutationCoverage;
fi