提交 5f0e5823 编写于 作者: 朔-望's avatar 朔-望

add clang-tidy support

上级 8b8d7e08
......@@ -7,7 +7,7 @@ os:
- linux
env:
global:
# CMake
- JOB=check_style
- CMAKE_URL=https://cmake.org/files/v3.11/cmake-3.11.1-Linux-x86_64.tar.gz
addons:
apt:
......@@ -43,8 +43,9 @@ install:
script:
- |
function timeout() { perl -e 'alarm shift; exec @ARGV' "$@"; }
echo "==============="
echo "========allonli======="
- |
timeout 600 .travis/${JOB}.sh # 10min timeout
RESULT=$?; if [ $RESULT -eq 0 ] || [ $RESULT -eq 142 ]; then true; else exit 1; fi;
......
......@@ -11,7 +11,6 @@ cd `dirname $0`
cd ..
export PATH=/usr/bin:$PATH
pre-commit install
#clang-format --version
if ! pre-commit run -a ; then
ls -lh
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册