Browse Source

Update travis

zhixin 5 years ago
parent
commit
3caa2d03f5
1 changed files with 2 additions and 2 deletions
  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