summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorTeodor Mircea Ionita <teodor@mariadb.org>2018-06-29 11:17:28 +0300
committerVicențiu-Marian Ciorbaru <cvicentiu@gmail.com>2018-06-29 13:57:36 +0300
commit7b6e8672889cf3eb06138ec0a3fe53049310d918 (patch)
tree8e8771bcd6bd8bda6d6c74430691357961408539 /.travis.yml
parent1d5220ae23f96a2d4b20e627dc5338525bfede84 (diff)
downloadmariadb-git-7b6e8672889cf3eb06138ec0a3fe53049310d918.tar.gz
MDEV-16213: Further improvements to the Travis config
* Exclude some storage engines from Travis to conserve build time and disk usage per job. Exluded: TOKUDB MROONGA SPIDER OQGRAPH PERFSCHEMA SPHINX * Increase travis_wait from default 20m to 30 for MTR * Use travis_wait for long running MTR command (wait 30m instead of default 20m) * Increase testcase-timeout to 20m for OSX, 2m for Linux * Set ccache size only on Linux, adjust timeout again * Increase cache push timeout to 5 mins * Remove AWS defines, not needed * Remove commented out ASAN rules, has been disabled previously since it has a significant impact on job runtime, should be used more in buildbot instead * Misc cleanup and fixes
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml41
1 files changed, 22 insertions, 19 deletions
diff --git a/.travis.yml b/.travis.yml
index f3b2e2a4eac..9ed9b1ed537 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,6 +17,7 @@ compiler:
- clang
cache:
+ timeout: 300
apt: true
ccache: true
directories:
@@ -24,12 +25,12 @@ 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
- - 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=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
+ - CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles
matrix:
exclude:
@@ -85,26 +86,26 @@ matrix:
- 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
+ # 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=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl
- os: osx
compiler: clang
- env: CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
+ env: CC_VERSION=5 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=5 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=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption
- os: osx
compiler: clang
- env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb
+ env: CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb
- 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=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles
addons:
apt:
@@ -121,7 +122,6 @@ addons:
- llvm-5.0-dev
- clang-6.0
- llvm-6.0-dev
-# - libasan0
- bison
- chrpath
- cmake
@@ -160,10 +160,12 @@ before_install:
brew link ccache;
fi
-script:
+before_script:
+ - df -h
- ccache --version
- ccache --show-stats
- - ccache --max-size=1000M
+
+script:
# following modules are disabled after sourcing .travis.compiler.sh:
# clang disabled: mroonga just generates too many warnings with clang and travis stops the job
# cland disabled: tokudb has fatal warnings
@@ -172,16 +174,17 @@ script:
- cmake .
-DCMAKE_BUILD_TYPE=${TYPE}
${CMAKE_OPT}
- -DWITH_SSL=system -DWITH_ZLIB=system -DPLUGIN_AWS_KEY_MANAGEMENT=DYNAMIC -DAWS_SDK_EXTERNAL_PROJECT=ON
+ -DWITH_SSL=system -DWITH_ZLIB=system
- make -j 4
- cd mysql-test
-# With ASAN --thread-stack=400K to account for overhead
+# With ASAN use --thread-stack=400K to account for overhead
# Test timeout needs to be 10 (minutes) or less due to travis job timeout
- - ./mtr --force --max-test-fail=20 --parallel=4 --testcase-timeout=4
+ - travis_wait 30 ./mtr --force --max-test-fail=20 --parallel=4 --testcase-timeout=${TEST_CASE_TIMEOUT}
--suite=${MYSQL_TEST_SUITES}
--skip-test-list=unstable-tests
--skip-test=binlog.binlog_unsafe
- ccache --show-stats
+ - df -h
notifications:
irc: