From a134eaaf3a85e3e586277e293bb8607a5ca6f5eb Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Mon, 15 Nov 2021 11:55:26 +0100 Subject: [PATCH] Travis build only on master branches Avoid duplicate build on branches created for pull requests --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 401b283..2c44fe2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,10 @@ language: python sudo: false cache: pip +branches: + only: + - "/^[[:digit:]]{1,2}.[[:digit:]]$/" + python: - "3.6"