浏览代码

[TravisCI] do not build for tags (close #4058)

Andy Li 10 年之前
父节点
当前提交
d73d9f76a2
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      .travis.yml

+ 6 - 0
.travis.yml

@@ -47,6 +47,12 @@ script:
   - haxe -neko RunCi.n -main RunCi -lib hx-yaml
   - neko RunCi.n
 
+branches:
+  except:
+    # A hack to prevent building for tags, assuming they all start with a number.
+    # https://github.com/travis-ci/travis-ci/issues/1532
+    - /^[0-9]/
+
 notifications:
   webhooks:
     urls: