Skip to content

Commit

Permalink
Change png/jpg files do not trigger Travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gangliao committed Nov 14, 2016
1 parent 20f853b commit d7d14ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ addons:
before_install:
- |
if [ ${JOB} == "BUILD_AND_TEST" ]; then
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(\.rst$)'
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(\.rst$)|(\.jpg$)|(\.png$)'
then
echo "Only markdown docs were updated, stopping build process."
exit
Expand Down

0 comments on commit d7d14ce

Please sign in to comment.