aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-05-25 17:42:52 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2017-05-25 18:42:52 -0400
commitfebbfb36a17d42a927a4ac7d5e53a80d9b8e6fdb (patch)
treec5ad523110fbc57b1d68886543de4232f41f290a /.travis.yml
parent097f8100ce599328afe04984ae11925d883cdc4d (diff)
downloadcryptography-febbfb36a17d42a927a4ac7d5e53a80d9b8e6fdb.tar.gz
cryptography-febbfb36a17d42a927a4ac7d5e53a80d9b8e6fdb.tar.bz2
cryptography-febbfb36a17d42a927a4ac7d5e53a80d9b8e6fdb.zip
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
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 8 insertions, 0 deletions
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