From a30d2724e22214d21ccfa2b52ed99972e925b2ba Mon Sep 17 00:00:00 2001 From: Richard Weickelt Date: Thu, 13 Aug 2020 10:51:14 +0200 Subject: Tune branch filter to exclude only CI branches Instead of building all jobs only in the master branch, we want to build them on all branches that are not CI branches. Change-Id: I799ef0232e96604db2788e9a86abbd3046af1398 Reviewed-by: Ivan Komissarov --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index ed7c56491..4a8d99052 100644 --- a/.travis.yml +++ b/.travis.yml @@ -129,7 +129,7 @@ jobs: - <<: *build-on-macos name: With Qbs on macOS (xcode 11.3) using iOS profile - if: branch = master + if: NOT branch =~ ^gerrit env: # Address sanitizer slows autotests down too much. # We would hit the maximum build time on Travis. @@ -154,17 +154,17 @@ jobs: - <<: *build-on-macos name: With Qbs on macOS (xcode 10.3) osx_image: xcode10.3 - if: branch = master + if: NOT branch =~ ^gerrit - <<: *build-on-macos name: With Qbs on macOS (xcode 9.4) osx_image: xcode9.4 - if: branch = master + if: NOT branch =~ ^gerrit - &build-on-windows-with-docker stage: Build Qbs and and run autotests name: With Qbs on Windows with Docker (Visual Studio 2017) - if: branch = master + if: NOT branch =~ ^gerrit os: windows services: docker env: @@ -221,7 +221,7 @@ jobs: - <<: *build-on-windows name: With Qbs on Windows (clang-cl) - if: branch = master + if: NOT branch =~ ^gerrit script: - qbs setup-toolchains --detect - qbs setup-qt ${QMAKE_PATH} qt -- cgit v1.2.3