From 40781d5eaf5766e228da17c46a4faea34399493d Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Sat, 7 Nov 2020 15:17:07 +0000 Subject: [PATCH] CI: skip non-PR local branches --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 138639e0..642cad90 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,10 +14,8 @@ before_cache: - rm -f $HOME/.cache/pip/log/debug.log notifications: email: false -# branches: # remove travis double-check on pull requests in main repo -# only: -# - master -# - /^\d\.\d+$/ +# skip local branches (assumed built via PR) +if: type != push OR tag IS NOT blank OR branch = master OR branch = devel OR repo != tqdm/tqdm stages: - test - name: deploy