浏览代码

Travis: Fix reporting clang-format errors after #34097

Rémi Verschelde 5 年之前
父节点
当前提交
7f62ee69b1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -128,7 +128,7 @@ before_script:
 
 
 script:
 script:
   - if [ "$STATIC_CHECKS" = "yes" ]; then
   - if [ "$STATIC_CHECKS" = "yes" ]; then
-      sh ./misc/travis/clang-format.sh;
+      sh ./misc/travis/clang-format.sh &&
       doc/tools/makerst.py --dry-run doc/classes modules;
       doc/tools/makerst.py --dry-run doc/classes modules;
     else
     else
       scons -j2 CC=$CC CXX=$CXX platform=$PLATFORM tools=$TOOLS target=$TARGET $OPTIONS $EXTRA_ARGS &&
       scons -j2 CC=$CC CXX=$CXX platform=$PLATFORM tools=$TOOLS target=$TARGET $OPTIONS $EXTRA_ARGS &&