From 2ade9b1b393dabe4fdfc8b49c6151b180c577b4b Mon Sep 17 00:00:00 2001 From: tangwei Date: Wed, 20 May 2020 13:29:38 +0800 Subject: [PATCH] add codestyle travis --- tools/build_script.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/build_script.sh b/tools/build_script.sh index 770de73d..9db7ea53 100755 --- a/tools/build_script.sh +++ b/tools/build_script.sh @@ -61,6 +61,12 @@ function main() { check_style) check_style ;; + *) + echo "build failed" + exit 1 + ;; + esac + echo "check_style finished as expected" } main $@ -- GitLab