瀏覽代碼

.travis.yml: Show diff on pre-commit failure

Jan Holthuis 4 年之前
父節點
當前提交
0094217501
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -13,7 +13,7 @@ install:
 - python setup.py install
 
 before_script:
-- pre-commit run --all-files
+- pre-commit run --all-files --show-diff-on-failure
 script:
 - mkdir html
 - git fetch --all