浏览代码

Fix double builds

Peter Squicciarini 7 年之前
父节点
当前提交
2e347df1c8
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      .travis.yml

+ 4 - 2
.travis.yml

@@ -1,3 +1,5 @@
+if: tag IS blank
+
 matrix:
 matrix:
   include:
   include:
     - os: linux
     - os: linux
@@ -9,8 +11,8 @@ node_js: "8"
 
 
 before_install:
 before_install:
   - ./install_deps.sh
   - ./install_deps.sh
-  - ./get_repo.sh
-  - ./check_tags.sh
+  - . get_repo.sh
+  - . check_tags.sh
 
 
 script:
 script:
   - ./build.sh
   - ./build.sh