diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 58 |
1 files changed, 35 insertions, 23 deletions
diff --git a/.travis.yml b/.travis.yml index 45adb875b61..85d02cc4bec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ # travis-ci.org definition sudo: false -dist: trusty +dist: xenial git: depth: 2 @@ -25,17 +25,24 @@ cache: env: matrix: - - CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main - - CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts - - CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl - - CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption - - CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning - - CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles + - 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=rpl + - 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=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 matrix: exclude: - os: osx compiler: gcc + - os: osx + compiler: clang + env: CC_VERSION=8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main + - os: linux + compiler: clang + env: CC_VERSION=8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main include: - os: linux compiler: gcc @@ -79,49 +86,51 @@ matrix: - uuid-dev - devscripts - fakeroot + - dh-systemd + - libsystemd-dev + - libzstd-dev + - unixodbc-dev script: - ${CC} --version ; ${CXX} --version - # https://github.com/travis-ci/travis-ci/issues/7062 - /run/shm isn't writable or executable - # in trusty containers - - export MTR_MEM=/tmp - env DEB_BUILD_OPTIONS="parallel=4" debian/autobake-deb.sh; - - ccache --show-stats # Until OSX becomes a bit more stable: MDEV-12435 MDEV-16213 allow_failures: - os: osx compiler: clang - env: CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl + env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl - os: osx compiler: clang - env: CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main + env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main - os: osx compiler: clang - env: CC_VERSION=5 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 - os: osx compiler: clang - env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption + env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption - os: osx compiler: clang - env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning + env: CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb,versioning - os: osx compiler: clang - env: CC_VERSION=6 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: apt: sources: - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-5.0 - - llvm-toolchain-trusty-6.0 + - llvm-toolchain-xenial-6.0 + - llvm-toolchain-xenial-7 packages: # make sure these include all compilers and all build dependencies (see list above) - - gcc-5 - - g++-5 - gcc-6 - g++-6 - - clang-5.0 - - llvm-5.0-dev + - gcc-7 + - g++-7 + - gcc-8 + - g++-8 - clang-6.0 - llvm-6.0-dev + - clang-7 + - llvm-7-dev - bison - chrpath - cmake @@ -165,6 +174,7 @@ before_script: - df -h - ccache --version - ccache --show-stats + - ccache --max-size=5G script: # following modules are disabled after sourcing .travis.compiler.sh: @@ -182,6 +192,8 @@ script: --suite=${MYSQL_TEST_SUITES} --skip-test-list=unstable-tests --skip-test=binlog.binlog_unsafe + +after_script: - ccache --show-stats - df -h |