Browse Source

travisci: use regex to select 4.X branches

Victor Seva 10 years ago
parent
commit
5695978137
1 changed files with 2 additions and 3 deletions
  1. 2 3
      .travis.yml

+ 2 - 3
.travis.yml

@@ -9,9 +9,8 @@ before_install:
 script: ./test/travis/build_travis.sh
 branches:
   only:
-    - master
-    - 4.2
-    - 4.1
+    - 'master'
+    - '/^4\.[0-9]+$/'
 notifications:
   irc:
     channels: