[build] Don't run Travis 'check' build on master
This commit is contained in:
@@ -81,6 +81,9 @@ matrix:
|
||||
script:
|
||||
- git fetch origin master:refs/remotes/origin/master
|
||||
- make check
|
||||
branches:
|
||||
except:
|
||||
- master
|
||||
|
||||
# EGL - Node v4 - Clang 3.9 - Release
|
||||
- os: linux
|
||||
|
||||
@@ -37,7 +37,7 @@ function run_clang_tidy_diff() {
|
||||
${CLANG_TIDY_PREFIX}/share/clang-tidy-diff.py \
|
||||
-clang-tidy-binary ${CLANG_TIDY} \
|
||||
2>/dev/null)
|
||||
if [[ -n $OUTPUT ]]; then
|
||||
if [[ -n $OUTPUT ]] && [[ $OUTPUT != "No relevant changes found." ]]; then
|
||||
echo -e "${OUTPUT}"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user