From 6d2caa0fc4755d4055e2ab396da59c1694234f73 Mon Sep 17 00:00:00 2001 From: tangwei Date: Wed, 20 May 2020 13:46:58 +0800 Subject: [PATCH] add codestyle travis --- tools/build_script.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tools/build_script.sh b/tools/build_script.sh index fa26cc7f..6fa779fa 100755 --- a/tools/build_script.sh +++ b/tools/build_script.sh @@ -30,13 +30,8 @@ function init() { } function check_style() { - trap 'abort' 0 set -e - if [ -x "$(command -v gimme)" ]; then - eval "$(GIMME_GO_VERSION=1.8.3 gimme)" - fi - export PATH=/usr/bin:$PATH pre-commit install @@ -45,7 +40,7 @@ function check_style() { exit 1 fi - trap : 0 + exit 0 } function main() { -- GitLab