diff --git a/.ci/travis-compile.sh b/.ci/travis-compile.sh index 8a529345..a3553f5f 100644 --- a/.ci/travis-compile.sh +++ b/.ci/travis-compile.sh @@ -2,8 +2,6 @@ # This script is to be used in .travis.yaml from the project root directory, do not use it from somewhere else. -set -e - # Read arguments while [[ "$@" ]]; do case "$1" in @@ -53,8 +51,11 @@ done # Check formatting using clang-format if [[ $CHECK_FORMAT ]]; then echo "Checking your code using clang-format..." - if ! diff="$(./clangify.sh --diff --cf-version)"; then - [[ $? == 1 ]] && cat <&2 + ;; + esac fi +set -e + # Setup ./servatrice/check_schema_version.sh mkdir -p build