浏览代码

Update travis

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

+ 1 - 5
.travis.yml

@@ -13,11 +13,7 @@ jobs:
         - cd tools
         - cd tools
         - git clone --depth=1 https://github.com/wenzhixin/bootstrap-table-examples
         - git clone --depth=1 https://github.com/wenzhixin/bootstrap-table-examples
       script: npm run pre-commit
       script: npm run pre-commit
-      if: type = pull_request
-      branches:
-        except:
-        - master
-        - develop
+      if: branch != master AND type = pull_request
 
 
     - stage: deploy
     - stage: deploy
       name: "Deploy docs"
       name: "Deploy docs"