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,7 +21,6 @@ cache: ...@@ -22,7 +21,6 @@ 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
...@@ -30,48 +28,49 @@ env: ...@@ -30,48 +28,49 @@ env:
- 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
...@@ -86,7 +85,22 @@ matrix: ...@@ -86,7 +85,22 @@ matrix:
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;
...@@ -99,7 +113,7 @@ matrix: ...@@ -99,7 +113,7 @@ matrix:
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;
...@@ -109,7 +123,12 @@ matrix: ...@@ -109,7 +123,12 @@ matrix:
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:
- *common-packages
- gcc-6
- g++-6
- galera-4
- libzmq-dev
- os: linux - 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
...@@ -124,7 +143,12 @@ matrix: ...@@ -124,7 +143,12 @@ matrix:
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:
- *common-packages
- gcc-7
- g++-7
- galera-4
- libzmq-dev
- os: linux - 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
...@@ -146,7 +170,12 @@ matrix: ...@@ -146,7 +170,12 @@ matrix:
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:
- *common-packages
- clang-6.0
- llvm-6.0-dev
- galera-4
- libzmq-dev
- os: linux - 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
...@@ -161,7 +190,12 @@ matrix: ...@@ -161,7 +190,12 @@ matrix:
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:
- *common-packages
- clang-7
- llvm-7-dev
- galera-4
- libzmq-dev
- os: linux - 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
...@@ -179,7 +213,12 @@ matrix: ...@@ -179,7 +213,12 @@ 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
...@@ -200,7 +239,12 @@ matrix: ...@@ -200,7 +239,12 @@ matrix:
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
...@@ -221,7 +265,12 @@ matrix: ...@@ -221,7 +265,12 @@ matrix:
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
...@@ -230,7 +279,12 @@ matrix: ...@@ -230,7 +279,12 @@ matrix:
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
...@@ -245,7 +299,12 @@ matrix: ...@@ -245,7 +299,12 @@ matrix:
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
......
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