summaryrefslogtreecommitdiff
path: root/.travis.compiler.sh
Commit message (Collapse)AuthorAgeFilesLines
* travis: increase ccache size for linux jobsTeodor Mircea Ionita2018-11-081-1/+1
|
* MDEV-16213: Travis whitespace fix and remove commentTeodor Mircea Ionita2018-06-291-2/+2
|
* MDEV-16213: Further improvements to the Travis configTeodor Mircea Ionita2018-06-291-28/+34
| | | | | | | | | | | | | | | | | * 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
* MDEV-16213: Improvements and adjustments to Travis configTeodor Mircea Ionita2018-06-291-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several improvements have been made so that builds run faster and with fewer canceled jobs: * Set ccache max size to 1GB. Was 512MB for Linux (too low for MariaDB) and 5GB on macOS with defaults; * Don't install libasan in Travis if not necessary. Sicne ASAN is disabled for the time being, save time/resources for other steps; * Decrease number of parallel processes. To prevent resource exhaustion leading to poor performance. According to Travis docs, a max of 4 concurrent processses should be run per job: https://docs.travis-ci.com/user/common-build-problems/#My-build-script-is-killed-without-any-error * Reconsider tests exec order and split huge main and rocksdb test suites into their own job, decreasing the chance of going over the Travis job execution limit and getting killed; * Increase Travis testcase-timeout to 4 minutes. Occasionally on Ubuntu target and frequently on macOS, many tests in main, rpl, binlog suites take longer than 2 minutes, resulting in many jobs failing, when in reality the failing tests didn't get a chance to complete. From my testing, along with the other speedups, i.e. increasing ccache size, a timeout of 4 minutes should be Ok. Revert to 3 minutes of necessary. * Build with GCC and Clang version 5,6 only. * Rename GCC_VERSION to CC_VERSION for clarity. We are using two compilers after all, GCC and Clang. * Stop using somewhat obsolete Clang4 in Travis. Also, was the reason for the failing test suites in MDEV-15430.
* Lean down compilation when running travis with rplVicențiu Ciorbaru2017-12-291-0/+7
| | | | | Disable tokudb compilation when doing rpl tests. This saves time and allows us to not timeout on travis.
* travis: add clang-5.0Daniel Black2017-08-071-2/+2
| | | | | | Also removed clang-3.9 Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
* travis: enable (main,archive).mysqlhotcopy_\1 testDaniel Black2017-06-081-4/+0
|
* Travis: Test more suites, latest OSXDaniel Black2017-04-101-11/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove clang-3.8 which doesn't have a repository on apt.llvm.org any more. For OSX, xcode8.3 is explicitly specified. /usr/local/Cellar is used as a cache repository to save brew install time on OSX (and /usr/local was too big). Debian autobake.sh is moved to a matrix include. Other branches of the matrix build test other test suites. An Ubuntu galera is downloaded and used in the test suite. TYPE=RelWithDebInfo used with the test to provide backtraces with line numbers when crashes occur. Build of PLUGIN_AWS_KEY_MANAGEMENT enabled in build. Code supporting TYPE=Debug and -DWITH_ASAN=ON included by not enabled due to large numbers of errors. Running more tests in parallel (6) as container based builds seem to support them. The test case timeout has been set to 2 minutes as large stalls will put test cases over 50 minute interval. ccache enabled where possible. Linux clang builds don't use them as the minimum CMake version isn't there.
* Travis: add ccache for clangDaniel Black2017-04-061-1/+1
| | | | Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
* travis: disable main.mysqlhotcopy_myisam in container buildsDaniel Black2017-04-061-0/+3
|
* Travis: llvm, additional packages and containerDaniel Black2017-04-061-0/+12
Additionally use clang as a compiler, versions 3.8, 3.9 and 4.0 Additionally use gcc/g++-7 Add additional packages used by build now that they are whitelisted. - libsnappy-dev - innodb compression - liblzma-dev - innodb compression - libzmq-dev - used my Mgoonga - libdistro-info-perl - used by autobake-debian Change to a container build as they tend to have more ram Signed-off-by: Daniel Black <daniel.black@au.ibm.com>