Show the unapproved files in travis CI
Project: http://git-wip-us.apache.org/repos/asf/storm/repo Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/6764a147 Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/6764a147 Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/6764a147 Branch: refs/heads/master Commit: 6764a147560bcfad439ec2572fd1cd8013546bbb Parents: 2ed4478 Author: zhuol <[email protected]> Authored: Mon Nov 9 13:29:10 2015 -0600 Committer: zhuol <[email protected]> Committed: Mon Nov 9 13:29:10 2015 -0600 ---------------------------------------------------------------------- dev-tools/travis/travis-install.sh | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/storm/blob/6764a147/dev-tools/travis/travis-install.sh ---------------------------------------------------------------------- diff --git a/dev-tools/travis/travis-install.sh b/dev-tools/travis/travis-install.sh index 8f6ce21..4cbebb1 100755 --- a/dev-tools/travis/travis-install.sh +++ b/dev-tools/travis/travis-install.sh @@ -34,6 +34,11 @@ BUILD_RET_VAL=$? if [[ "$BUILD_RET_VAL" != "0" ]]; then cat "install.txt" + echo "Looking for unapproved licenses" + for rat in `find . -name rat.txt`; + do + python ${TRAVIS_SCRIPT_DIR}/ratprint.py "${rat}" + done fi exit ${BUILD_RET_VAL}
