Skip to content

Commit a07407d

Browse files
committed
changed CI config to skip build on docs-only-changes
1 parent 5e4c962 commit a07407d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
before_install:
22
- chmod +x gradlew
3+
- |
4+
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(.md)|^(LICENSE)'
5+
then
6+
echo "Not running CI since only docs were changed."
7+
exit
8+
fi
39
410
language: java
511

0 commit comments

Comments
 (0)