Commit 20ddc1e0 authored by Otto Kekäläinen's avatar Otto Kekäläinen Committed by Vlad

Travis-CI: No-change cleanup of bad syntax in .travis-ci.yml

This is first step in refactoring the Travis-CI file, which had become a
mess. This commit has no functional changes, just syntactical cleanup
and simplification.

Dependencies list has not changes, it is just sorted alphabetically so
it is easier to compare to e.g. debian/control file list.
parent ed6168f7
# vim ft=yaml # vim ft=yaml
# travis-ci.org definition # travis-ci.org definition
sudo: false
dist: xenial dist: xenial
git: git:
...@@ -22,56 +21,56 @@ cache: ...@@ -22,56 +21,56 @@ cache:
- /usr/local/Cellar # Fails do to permission error: https://github.com/travis-ci/travis-ci/issues/8092 - /usr/local/Cellar # Fails do to permission error: https://github.com/travis-ci/travis-ci/issues/8092
env: env:
matrix: - CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
- CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main - CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts
- CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts - CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl
- CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl - CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption
- CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption - CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning
- CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning - CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles
- CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles - CC_VERSION=8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
- CC_VERSION=8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
addons: addons:
apt: apt:
sources: &add-sources sources: &add-sources
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- llvm-toolchain-xenial-6.0 - llvm-toolchain-xenial-6.0
- llvm-toolchain-xenial-7 - llvm-toolchain-xenial-7
- sourceline: 'deb [arch=amd64,arm64,i386,ppc64el] http://ftp.osuosl.org/pub/mariadb/repo/10.4/ubuntu xenial main' - sourceline: 'deb [arch=amd64,arm64,i386,ppc64el] http://ftp.osuosl.org/pub/mariadb/repo/10.5/ubuntu xenial main'
key_url: 'http://keyserver.ubuntu.com/pks/lookup?search=0xF1656F24C74CD1D8&op=get' key_url: 'http://keyserver.ubuntu.com/pks/lookup?search=0xF1656F24C74CD1D8&op=get'
packages: &common-packages packages: &common-packages
# make sure these include all compilers and all build dependencies (see list above) # make sure these include all compilers and all build dependencies (see list above)
- bison - bison
- chrpath - chrpath
- cmake - cmake
- cracklib-runtime
- gdb - gdb
- libaio-dev - libaio-dev
- libboost-dev - libboost-dev
- libcrack2-dev
- libcurl3-dev - libcurl3-dev
- libdbd-mysql - libdbd-mysql
- libjemalloc-dev
- libjudy-dev - libjudy-dev
- liblzma-dev
- libncurses5-dev - libncurses5-dev
- libnuma-dev
- libpam0g-dev - libpam0g-dev
- libpcre2-dev - libpcre2-dev
- libreadline-gplv2-dev - libreadline-gplv2-dev
- libstemmer-dev - libsnappy-dev
- libssl-dev - libssl-dev
- libnuma-dev - libstemmer-dev
- libxml2-dev - libxml2-dev
- lsb-release - lsb-release
- perl - perl
- psmisc - psmisc
- zlib1g-dev
- libcrack2-dev
- cracklib-runtime
- libjemalloc-dev
- libsnappy-dev
- liblzma-dev
- uuid-dev - uuid-dev
- zlib1g-dev
# libsystemd-daemon-dev # https://github.com/travis-ci/apt-package-whitelist/issues/3882 # libsystemd-daemon-dev # https://github.com/travis-ci/apt-package-whitelist/issues/3882
matrix: jobs:
exclude: exclude:
- os: osx - os: osx
compiler: gcc compiler: gcc
...@@ -83,10 +82,25 @@ matrix: ...@@ -83,10 +82,25 @@ matrix:
compiler: gcc compiler: gcc
env: env:
- DebPackages - DebPackages
addons: addons:
apt: apt:
sources: *add-sources sources: *add-sources
packages: [ *common-packages, debhelper, dh-apparmor, dh-exec, dpatch, po-debconf, libzmq-dev, libdistro-info-perl, devscripts, fakeroot, dh-systemd, libsystemd-dev, libzstd-dev, unixodbc-dev] # make sure these match debian/control contents # make sure these match debian/control contents
packages: &deb-packages
- *common-packages
- debhelper
- devscripts
- dh-apparmor
- dh-exec
- dh-systemd
- dpatch
- fakeroot
- libdistro-info-perl
- libsystemd-dev
- libzmq-dev
- libzstd-dev
- po-debconf
- unixodbc-dev
script: script:
- ${CC} --version ; ${CXX} --version - ${CC} --version ; ${CXX} --version
- env DEB_BUILD_OPTIONS="parallel=4" debian/autobake-deb.sh; - env DEB_BUILD_OPTIONS="parallel=4" debian/autobake-deb.sh;
...@@ -96,80 +110,100 @@ matrix: ...@@ -96,80 +110,100 @@ matrix:
compiler: gcc compiler: gcc
env: env:
- DebPackages - DebPackages
addons: addons:
apt: apt:
sources: *add-sources sources: *add-sources
packages: [ *common-packages, debhelper, dh-apparmor, dh-exec, dpatch, po-debconf, libzmq3-dev, libdistro-info-perl, devscripts, fakeroot, dh-systemd, libsystemd-dev, libzstd-dev, unixodbc-dev] # make sure these match debian/control contents packages: *deb-packages
script: script:
- ${CC} --version ; ${CXX} --version - ${CC} --version ; ${CXX} --version
- env DEB_BUILD_OPTIONS="parallel=4" debian/autobake-deb.sh; - env DEB_BUILD_OPTIONS="parallel=4" debian/autobake-deb.sh;
- os: linux - os: linux
compiler: gcc compiler: gcc
env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
addons: &gcc6_addons addons: &gcc6_addons
apt: apt:
sources: *add-sources sources: *add-sources
packages: [ *common-packages, gcc-6, g++-6, galera-4, libzmq-dev] packages:
- os: linux - *common-packages
- gcc-6
- g++-6
- galera-4
- libzmq-dev
- os: linux
compiler: gcc compiler: gcc
env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts
addons: *gcc6_addons addons: *gcc6_addons
- os: linux - os: linux
compiler: gcc compiler: gcc
env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl
addons: *gcc6_addons addons: *gcc6_addons
- os: linux - os: linux
compiler: gcc compiler: gcc
env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption
addons: &gcc7_addons addons: &gcc7_addons
apt: apt:
sources: *add-sources sources: *add-sources
packages: [ *common-packages, gcc-7, g++-7, galera-4, libzmq-dev] packages:
- os: linux - *common-packages
- gcc-7
- g++-7
- galera-4
- libzmq-dev
- os: linux
compiler: gcc compiler: gcc
env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning
addons: *gcc7_addons addons: *gcc7_addons
- os: linux - os: linux
compiler: gcc compiler: gcc
env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles
addons: *gcc7_addons addons: *gcc7_addons
- os: linux - os: linux
compiler: gcc compiler: gcc
env: CC_VERSION=8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main env: CC_VERSION=8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
addons: addons:
apt: apt:
sources: *add-sources sources: *add-sources
packages: [ *common-packages, gcc-8, g++-8, galera-4, libzmq-dev] packages: [ *common-packages, gcc-8, g++-8, galera-4, libzmq-dev]
- os: linux - os: linux
compiler: clang compiler: clang
env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
addons: &clang6_addons addons: &clang6_addons
apt: apt:
sources: *add-sources sources: *add-sources
packages: [ *common-packages, clang-6.0, llvm-6.0-dev, galera-4, libzmq-dev] packages:
- os: linux - *common-packages
- clang-6.0
- llvm-6.0-dev
- galera-4
- libzmq-dev
- os: linux
compiler: clang compiler: clang
env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts
addons: *clang6_addons addons: *clang6_addons
- os: linux - os: linux
compiler: clang compiler: clang
env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl
addons: *clang6_addons addons: *clang6_addons
- os: linux - os: linux
compiler: clang compiler: clang
env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption
addons: &clang7_addons addons: &clang7_addons
apt: apt:
sources: *add-sources sources: *add-sources
packages: [ *common-packages, clang-7, llvm-7-dev, galera-4, libzmq-dev] packages:
- os: linux - *common-packages
- clang-7
- llvm-7-dev
- galera-4
- libzmq-dev
- os: linux
compiler: clang compiler: clang
env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning
addons: *clang7_addons addons: *clang7_addons
- os: linux - os: linux
compiler: clang compiler: clang
env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles
addons: *clang7_addons addons: *clang7_addons
#s390x matrix #s390x matrix
- os: linux - os: linux
arch: s390x arch: s390x
...@@ -179,82 +213,107 @@ matrix: ...@@ -179,82 +213,107 @@ matrix:
addons: &gcc6_addons_s390x addons: &gcc6_addons_s390x
apt: apt:
sources: *add-sources sources: *add-sources
packages: [ *common-packages, gcc-6, g++-6, galera-3, libzmq3-dev] packages:
- *common-packages
- gcc-6
- g++-6
- galera-3
- libzmq3-dev
- os: linux - os: linux
arch: s390x arch: s390x
dist: bionic dist: bionic
compiler: gcc compiler: gcc
env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts
addons: *gcc6_addons_s390x addons: *gcc6_addons_s390x
- os: linux - os: linux
arch: s390x arch: s390x
dist: bionic dist: bionic
compiler: gcc compiler: gcc
env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl
addons: *gcc6_addons_s390x addons: *gcc6_addons_s390x
- os: linux - os: linux
arch: s390x arch: s390x
dist: bionic dist: bionic
compiler: gcc compiler: gcc
env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption
addons: &gcc7_addons_s390x addons: &gcc7_addons_s390x
apt: apt:
sources: *add-sources sources: *add-sources
packages: [ *common-packages, gcc-7, g++-7, galera-3, libzmq3-dev] packages:
- *common-packages
- gcc-7
- g++-7
- galera-3
- libzmq3-dev
- os: linux - os: linux
arch: s390x arch: s390x
dist: bionic dist: bionic
compiler: gcc compiler: gcc
env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning
addons: *gcc7_addons_s390x addons: *gcc7_addons_s390x
- os: linux - os: linux
arch: s390x arch: s390x
dist: bionic dist: bionic
compiler: gcc compiler: gcc
env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles
addons: *gcc7_addons_s390x addons: *gcc7_addons_s390x
- os: linux - os: linux
arch: s390x arch: s390x
dist: bionic dist: bionic
compiler: gcc compiler: gcc
env: CC_VERSION=8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main env: CC_VERSION=8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
addons: addons:
apt: apt:
sources: *add-sources sources: *add-sources
packages: [ *common-packages, gcc-8, g++-8, galera-3, libzmq3-dev] packages:
- *common-packages
- gcc-8
- g++-8
- galera-3
- libzmq3-dev
- os: linux - os: linux
arch: s390x arch: s390x
dist: bionic dist: bionic
compiler: clang compiler: clang
env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts
addons: &clang6_addons_s390x addons: &clang6_addons_s390x
apt: apt:
sources: *add-sources sources: *add-sources
packages: [ *common-packages, clang-6.0, llvm-6.0-dev, galera-3, libzmq3-dev] packages:
- *common-packages
- clang-6.0
- llvm-6.0-dev
- galera-3
- libzmq3-dev
- os: linux - os: linux
arch: s390x arch: s390x
dist: bionic dist: bionic
compiler: clang compiler: clang
env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl
addons: *clang6_addons_s390x addons: *clang6_addons_s390x
- os: linux - os: linux
arch: s390x arch: s390x
dist: bionic dist: bionic
compiler: clang compiler: clang
env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption
addons: &clang7_addons_s390x addons: &clang7_addons_s390x
apt: apt:
sources: *add-sources sources: *add-sources
packages: [ *common-packages, clang-7, llvm-7-dev, galera-3, libzmq3-dev] packages:
- *common-packages
- clang-7
- llvm-7-dev
- galera-3
- libzmq3-dev
- os: linux - os: linux
arch: s390x arch: s390x
dist: bionic dist: bionic
compiler: clang compiler: clang
env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning
addons: *clang7_addons_s390x addons: *clang7_addons_s390x
- os: linux - os: linux
arch: s390x arch: s390x
dist: bionic dist: bionic
compiler: clang compiler: clang
env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles
addons: *clang7_addons_s390x addons: *clang7_addons_s390x
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment