瀏覽代碼

Format Travis CI inline script for readability

Camilla Löwy 6 年之前
父節點
當前提交
7dc36dd7da
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      .travis.yml

+ 4 - 1
.travis.yml

@@ -83,7 +83,10 @@ matrix:
               - BUILD_SHARED_LIBS=OFF
               - CFLAGS=-Werror
 script:
-    - if grep -Inr '\s$' src include docs tests examples CMake *.md .gitattributes .gitignore; then echo Trailing whitespace found, aborting.; exit 1; fi
+    - if grep -Inr '\s$' src include docs tests examples CMake *.md .gitattributes .gitignore; then
+          echo Trailing whitespace found, aborting;
+          exit 1;
+      fi
     - mkdir build
     - cd build
     - if test -n "${USE_WAYLAND}"; then