File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 57
57
- CAN_FAIL=true
58
58
if : type IN (pull_request)
59
59
name : " Run Vale against PR asciidoc files"
60
+ language : minimal
60
61
before_script :
61
62
- gem install asciidoctor
62
63
script :
65
66
- export PATH=./bin:"$PATH"
66
67
- travis_retry vale sync # pull down VRH rules package
67
68
- chmod +x ./scripts/check-with-vale.sh
68
- - travis_retry ./scripts/check-with-vale.sh $TRAVIS_PULL_REQUEST $TRAVIS_PULL_REQUEST_SHA
69
+ - ./scripts/check-with-vale.sh
69
70
# Commenting out to disable auto-merging of PRs
70
71
# - stage: automerge
71
72
# if: env(PR_AUTHOR)=openshift-cherrypick-robot
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if [ -n "${FILES}" ] ;
15
15
if [ " $TRAVIS " = true ] ; then
16
16
# clean out conditional markup in Travis CI
17
17
sed -i -e ' s/ifdef::.*\|ifndef::.*\|ifeval::.*\|endif::.*/ /' ${FILES}
18
- vale ${FILES} --glob=' *.adoc' --minAlertLevel=error --no-exit
18
+ vale ${FILES} --glob=' *.adoc' --minAlertLevel=error
19
19
else
20
20
vale ${FILES} --glob=' *.adoc' --minAlertLevel=suggestion
21
21
fi
You can’t perform that action at this time.
0 commit comments