From 0115c51e3864a605683446c0af87e84bb48bc167 Mon Sep 17 00:00:00 2001 From: Przemyslaw Skibinski Date: Fri, 16 Oct 2020 12:14:36 +0200 Subject: [PATCH] PS-7374: Travis CI and Azure: add clang-11 testing --- .travis.yml | 96 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 56 insertions(+), 40 deletions(-) diff --git a/.travis.yml b/.travis.yml index 43d1a2bdde93..d3e961480805 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,57 +42,61 @@ matrix: osx_image: xcode11 # 2 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=10 BUILD=RelWithDebInfo + env: VERSION=11 BUILD=Debug INVERTED=ON compiler: clang # 3 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=9 BUILD=Debug + env: VERSION=11 BUILD=RelWithDebInfo compiler: clang # 4 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=8 BUILD=Debug + env: VERSION=9 BUILD=Debug compiler: clang # 5 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=7 BUILD=Debug + env: VERSION=8 BUILD=Debug compiler: clang # 6 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=6.0 BUILD=Debug + env: VERSION=7 BUILD=Debug compiler: clang # 7 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=5.0 BUILD=Debug + env: VERSION=6.0 BUILD=Debug compiler: clang # 8 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=4.0 BUILD=Debug + env: VERSION=5.0 BUILD=Debug compiler: clang # 9 + - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) + env: VERSION=4.0 BUILD=Debug + compiler: clang + # 10 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=10 BUILD=Debug compiler: gcc - # 10 + # 11 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=9 BUILD=Debug compiler: gcc - # 11 + # 12 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=8 BUILD=Debug compiler: gcc - # 12 + # 13 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=7 BUILD=Debug compiler: gcc - # 13 + # 14 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=6 BUILD=Debug compiler: gcc - # 14 + # 15 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=5 BUILD=Debug compiler: gcc - # 15 + # 16 - if: repo != percona/percona-server OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=4.8 BUILD=Debug compiler: gcc @@ -107,57 +111,61 @@ matrix: osx_image: xcode11 # 2 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) - env: VERSION=10 BUILD=Debug + env: VERSION=11 BUILD=RelWithDebInfo INVERTED=ON compiler: clang # 3 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) - env: VERSION=9 BUILD=RelWithDebInfo + env: VERSION=11 BUILD=Debug compiler: clang # 4 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) - env: VERSION=8 BUILD=RelWithDebInfo + env: VERSION=9 BUILD=RelWithDebInfo compiler: clang # 5 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) - env: VERSION=7 BUILD=RelWithDebInfo + env: VERSION=8 BUILD=RelWithDebInfo compiler: clang # 6 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) - env: VERSION=6.0 BUILD=RelWithDebInfo + env: VERSION=7 BUILD=RelWithDebInfo compiler: clang # 7 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) - env: VERSION=5.0 BUILD=RelWithDebInfo + env: VERSION=6.0 BUILD=RelWithDebInfo compiler: clang # 8 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) - env: VERSION=4.0 BUILD=RelWithDebInfo + env: VERSION=5.0 BUILD=RelWithDebInfo compiler: clang # 9 + - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) + env: VERSION=4.0 BUILD=RelWithDebInfo + compiler: clang + # 10 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) env: VERSION=10 BUILD=RelWithDebInfo compiler: gcc - # 10 + # 11 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) env: VERSION=9 BUILD=RelWithDebInfo compiler: gcc - # 11 + # 12 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) env: VERSION=8 BUILD=RelWithDebInfo compiler: gcc - # 12 + # 13 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) env: VERSION=7 BUILD=RelWithDebInfo compiler: gcc - # 13 + # 14 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) env: VERSION=6 BUILD=RelWithDebInfo compiler: gcc - # 14 + # 15 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) env: VERSION=5 BUILD=RelWithDebInfo compiler: gcc - # 15 + # 16 - if: branch =~ fullci OR repo = percona/percona-server AND type IN (push, pull_request, cron) env: VERSION=4.8 BUILD=RelWithDebInfo compiler: gcc @@ -165,58 +173,66 @@ matrix: # Configurations to be run after merging a pull request for percona/percona-server # 1 - - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, pull_request, cron) + - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=10 BUILD=RelWithDebInfo INVERTED=ON compiler: clang # 2 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=9 BUILD=RelWithDebInfo INVERTED=ON + env: VERSION=10 BUILD=RelWithDebInfo compiler: clang # 3 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=8 BUILD=RelWithDebInfo INVERTED=ON + env: VERSION=10 BUILD=Debug compiler: clang # 4 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=7 BUILD=RelWithDebInfo INVERTED=ON + env: VERSION=9 BUILD=RelWithDebInfo INVERTED=ON compiler: clang # 5 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=6.0 BUILD=RelWithDebInfo INVERTED=ON + env: VERSION=8 BUILD=RelWithDebInfo INVERTED=ON compiler: clang # 6 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=5.0 BUILD=RelWithDebInfo INVERTED=ON + env: VERSION=7 BUILD=RelWithDebInfo INVERTED=ON compiler: clang # 7 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) - env: VERSION=4.0 BUILD=RelWithDebInfo INVERTED=ON + env: VERSION=6.0 BUILD=RelWithDebInfo INVERTED=ON compiler: clang # 8 + - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) + env: VERSION=5.0 BUILD=RelWithDebInfo INVERTED=ON + compiler: clang + # 9 + - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) + env: VERSION=4.0 BUILD=RelWithDebInfo INVERTED=ON + compiler: clang + # 10 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=10 BUILD=RelWithDebInfo INVERTED=ON compiler: gcc - # 9 + # 11 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=9 BUILD=RelWithDebInfo INVERTED=ON compiler: gcc - # 10 + # 12 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=8 BUILD=RelWithDebInfo INVERTED=ON compiler: gcc - # 11 + # 13 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=7 BUILD=RelWithDebInfo INVERTED=ON compiler: gcc - # 12 + # 14 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=6 BUILD=RelWithDebInfo INVERTED=ON compiler: gcc - # 13 + # 15 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=5 BUILD=RelWithDebInfo INVERTED=ON compiler: gcc - # 14 + # 16 - if: branch =~ extraci OR repo = percona/percona-server AND type IN (push, cron) env: VERSION=4.8 BUILD=RelWithDebInfo INVERTED=ON compiler: gcc @@ -229,7 +245,7 @@ script: echo --- JOB_NUMBER=$JOB_NUMBER TRAVIS_COMMIT=$TRAVIS_COMMIT TRAVIS_COMMIT_RANGE=$TRAVIS_COMMIT_RANGE TRAVIS_REPO_SLUG=$TRAVIS_REPO_SLUG TRAVIS_BRANCH=$TRAVIS_BRANCH TRAVIS_EVENT_TYPE=$TRAVIS_EVENT_TYPE TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST TRAVIS_PULL_REQUEST_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH - echo --- Perform all Travis jobs or only jobs that are included in ENV_VAR_JOB_NUMBERS list if it is defined; - JOB_NUMBERS="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45"; + JOB_NUMBERS="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49"; if [[ "$ENV_VAR_JOB_NUMBERS" != "" ]]; then JOB_NUMBERS=$ENV_VAR_JOB_NUMBERS; fi;