Explorar o código

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

Andy Li %!s(int64=10) %!d(string=hai) anos
pai
achega
d73d9f76a2
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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: