diff options
author | Richard Weickelt <richard@weickelt.de> | 2020-08-13 10:51:14 +0200 |
---|---|---|
committer | Richard Weickelt <richard@weickelt.de> | 2020-08-13 10:21:19 +0000 |
commit | a30d2724e22214d21ccfa2b52ed99972e925b2ba (patch) | |
tree | ff09b29be3110e7e107a84f3caca013446c28811 | |
parent | 5f80f92e41a5a697ba816a9107baf65ba3264c31 (diff) | |
download | qbs-a30d2724e22214d21ccfa2b52ed99972e925b2ba.tar.gz |
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 <ABBAPOH@gmail.com>
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 5 insertions, 5 deletions
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 |