From febbfb36a17d42a927a4ac7d5e53a80d9b8e6fdb Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 25 May 2017 17:42:52 -0500 Subject: only build master and our release branches (#3601) * only build master and our release branches * review feedback * also build the tags tags are of form `digit . digit` or `digit . digit . digit` * alex is right * that should match 0-1 times, not 0-infinity * so much regex --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index a947992f..3fca4b48 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,14 @@ cache: - $HOME/.cache/pip - $HOME/ossl-1/ +# Only build master, the version branches (e.g. 1.7.x), and +# version tags (which are apparently considered branches by travis) +branches: + only: + - master + - /\d+\.\d+\.x/ + - /\d+\.\d+(\.\d+)?/ + matrix: include: # these are just to make travis's UI a bit prettier -- cgit v1.2.3