浏览代码

Update travis

zhixin 5 年之前
父节点
当前提交
3caa2d03f5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .travis.yml

+ 2 - 2
.travis.yml

@@ -9,10 +9,10 @@ jobs:
       node_js:
         - 12
       name: "Lint src and check docs"
-      before_install:
+      script:
         - cd tools
         - git clone --depth=1 https://github.com/wenzhixin/bootstrap-table-examples
-      script: npm run pre-commit
+        - npm run pre-commit
       if: branch != master AND type = pull_request
 
     - stage: deploy