提交 6d2caa0f 编写于 作者: T tangwei

add codestyle travis

上级 8140ee8f
...@@ -30,13 +30,8 @@ function init() { ...@@ -30,13 +30,8 @@ function init() {
} }
function check_style() { function check_style() {
trap 'abort' 0
set -e set -e
if [ -x "$(command -v gimme)" ]; then
eval "$(GIMME_GO_VERSION=1.8.3 gimme)"
fi
export PATH=/usr/bin:$PATH export PATH=/usr/bin:$PATH
pre-commit install pre-commit install
...@@ -45,7 +40,7 @@ function check_style() { ...@@ -45,7 +40,7 @@ function check_style() {
exit 1 exit 1
fi fi
trap : 0 exit 0
} }
function main() { function main() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册