Skip to content

Commit

Permalink
Merge pull request #910 from reyoung/feature/make_travis_ci_more_read…
Browse files Browse the repository at this point in the history
…able

Make Travis-CI pre-commit check more readable.
  • Loading branch information
reyoung authored Dec 15, 2016
2 parents 4a01887 + 08917e0 commit eb46232
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion paddle/scripts/travis/precommit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ cd ..
export PATH=/usr/bin:$PATH
pre-commit install
clang-format --version
pre-commit run -a

if ! pre-commit run -a ; then
git diff --exit-code
fi

trap : 0

0 comments on commit eb46232

Please sign in to comment.