summaryrefslogtreecommitdiff
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* Travis-CI: Sync dependencies with DebianOtto Kekäläinen2021-01-031-3/+3
| | | | | | | | | | | - Add libarchive-dev and libkrb5-dev as they are defined as dependencies in debian/control - Update curl dependency to libcurl4-openssl-dev, available in Bionic and Focal - Remove libstemmer-dev that was added without documented motivations in https://github.com/ottok/mariadb/commit/e9ada862651fdb98f84871e4ec59bef1bb36646d - Remove libdistro-info-perl that was added due to need by autobake-deb.sh in https://github.com/ottok/mariadb/commit/eb04ee5c9d2416aa45acd1353dff19f569e96317 but which is not needed anymore
* Travis-CI: Optimize rate of false negatives vs true failuresOtto Kekäläinen2020-12-261-4/+4
| | | | | | | | | | | | Move 'encryption' tests to another job, since the 'binlog' and 'rpl' tests are so slow and often make the job timeout (after 50 minutes). Allow failure in ppc64el as it frequently fails due to out-of-memory. A simple restart often fixes it, but we can't depend on restarts. Also re-enable arm64 as MDEV-23955 is now fixed. MERGING: This commit is OK to merge 10.6 and upwards.
* Travis-CI: Use new Ubuntu 20.04 as base, streamline and documentOtto Kekäläinen2020-10-151-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify Travis-CI file and extend inline comments. Upgrade to using Ubuntu 20.04 (Focal) as the baseline distro version now that Travis-CI has made it available. Drop Xenial and all the excess repositories Xenial needed. Now we only Focal and one Bionic build to keep things simple and streamlined. Keep GCC-7/Clang-7 as the older compiler, and start using GCC-10 and Clang-10 as the newer compiler. Assume that if both of them build OK, than the intermediate versions would be OK as well. Print 'apt-cache policy' to make it transparent in build logs what repositories was used for build dependencies. Remove temporary workaround from homebrew install step as Travis-CI has fixed the original issue. Revert ignoring results form build that previously failed on the test main.thread_pool_info as MDEV-20372 is not fixed. Keep arm64 failures ignored due to MDEV-23955. Allow failures for the test main.column_compression 'innodb' due to MDEV-23954.
* Merge 10.4 into 10.5Marko Mäkelä2020-09-041-1/+1
|\
| * Merge 10.3 into 10.4Marko Mäkelä2020-09-031-3/+1
| |\
| | * travis: update osx to xcode12u in attempt to solve openssl build failureDaniel Black2020-09-021-1/+1
| | |
| | * travis: osx build time out storing cache. Ensure not CellarDaniel Black2020-09-021-2/+0
| | |
| | * Travis-CI: Add missing build dependency dh-execOtto Kekäläinen2020-04-051-0/+1
| | | | | | | | | | | | Backported from 30b44aaec7120f41ee1383536730947cfa427308.
| * | Travis-CI: Add missing build dependency dh-execOtto Kekäläinen2020-04-061-0/+1
| | | | | | | | | | | | Backported from 30b44aaec7120f41ee1383536730947cfa427308.
* | | travis: osx build time out storing cache. Ensure not CellarDaniel Black2020-09-021-2/+0
| | |
* | | Deb: Misc ColumnStore Debian packaging improvementsOtto Kekäläinen2020-07-101-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add 'libboost-all-dev' and 'libreadline-gplv2-dev' as they were was found to be a compulsory build dependency for columnstore plugin. - Add 'expect' as run-time dependencey for columnstore plugin as scripts use it: usr/bin/mcs_module_installer.sh: #!/usr/bin/expect usr/bin/remote_command.sh: #!/usr/bin/expect usr/bin/remote_command_verify.sh: #!/usr/bin/expect usr/bin/remote_scp_get.sh: #!/usr/bin/expect usr/bin/remote_scp_put.sh: #!/usr/bin/expect usr/bin/rsync.sh: #!/usr/bin/expect - Properly define depends on Python. No Python 2 support needs to be considered, Python 3 has been around long enough. Fixes Lintian errors E: mariadb-plugin-columnstore: python-script-but-no-python-dep usr/bin/mcs-loadbrm.py #!python E: mariadb-plugin-columnstore: python-script-but-no-python-dep usr/bin/mcs-start-storagemanager.py #!python - Partially revert undocumented and thus unjustified changes in commits d69a79da63287089efdc5f90a11ecd66ce55b471 and c0565666cfe6528b76bc53ce50d3690d13c92cf6. - Trigger ldconfig, otherwise Lintian complains: E: mariadb-plugin-columnstore: package-must-activate-ldconfig-trigger usr/lib/x86_64-linux-gnu/libwriteengineredistribute.so - Update postinst to be compatible with new server binary mariadbd name. - Properly detect systemd or fallback to sysv init in postrm script. - Only attempt to build ColumnStore on amd64 and i386. Test builds on Launchpad.net showed the CMake plugin configure step will prevent even attempts to build on other platforms. - Clean up and unify cmake build command in debian/rules. - Explicitly list files not installed. - Run 'wrap-and-sort -a -v'. - Truncate build logs on Salsa-CI to keep under 4 MB. This is now needed as the ColumnStore build is so verbose. See https://jira.mariadb.org/browse/MCOL-4111. - Update Travis-CI dependencies to match new debian/control.
* | | MDEV-6284: Sync deb build dependencies and control file with downstreamOtto Kekäläinen2020-04-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove versioned depends that are far outdated and not relevant anymore in 2020. - Link with libedit instead of unmaintained readline5 https://salsa.debian.org/mariadb-team/mariadb-10.4/-/commit/d8796a0e3b5fc4450f4dc80fd159599a7f03997a - Add [linux-any] for Linux specific depends and other smaller control file tweaks. - Update .travis-ci.yml to match. - Also fixes the Debian autopkgtest detected error: ERROR 1231 (42000) at line 1: Variable 'innodb_compression_algorithm' can't be set to the value of 'lz4'
* | | travis: xcode11.3Daniel Black2020-04-051-1/+1
| | |
* | | Travis-CI: Update default distro from Ubuntu Xenial to BionicOtto Kekäläinen2020-04-021-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ubuntu Bionic 18.04 LTS will be around until 2023 while Xenial is only to 2021. Thus Bionic is much more suitable as the Travis-CI default build environment for the 10.5 branch. For now, still keep one Xenial build to ensure backwards compatibility. Disable main.udf test until MDEV-21976 is addressed.
* | | Travis-CI: Slim down number of parallel jobs to speed up total run timeOtto Kekäläinen2020-04-021-21/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Number of jobs dropped from 23 -> 17 and build time from 8-10 hours to 3-4 hours. Drop GCC 6 and Clang 6 from build dependencies and version 6 is dropped from the jobs matrix. Also ignore arm64 and ppc64le on Bionic builds since they sporadically fail.
* | | Travis-CI: Optimize the selection of tests to be smaller and more diverseOtto Kekäläinen2020-03-231-42/+19
| | | | | | | | | | | | | | | | | | | | | Drop excess jobs while still making sure there is a good variation of running all test suites, gcc and clang versions. Also introduce testing on architectures arm64 and ppc64le.
* | | Travis-CI: Mac OS X build improvementsOtto Kekäläinen2020-03-231-12/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Properly define build dependencies via addons/homebrew, but still keep secondary Homebrew run until OS X builds fully work. - Remove references to OS X bugs that are already closed. - As long as the OS X build does not work, it is enough to attempt to run just one of them, no need for many in parallel. It will just waste resources and slow down the job from finishing quickly.
* | | Travis-CI: Refactor .travis.yml and documentOtto Kekäläinen2020-03-231-192/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This further simplifies and cleans up the Travis-CI file without making any major functional changes. With this structure .travis.yml is much easier to read and thanks to the added documentation next developers are less likely to mess it up again as they can more easily see how the jobs matrix work. Number of jobs: - before: 33 (with 7 ignored) - after: 33 (with 7 ignored) This partially reverts commits c12609d and 193bc89. Remove unnecessary dependencies that nothing uses: dpatch libzmq-dev Install extra build dependencies from a PPA specifically tailored for Travis-CI use and which ensures all architectures are supported (in this case s390x is needed and was not available from mariadb.org repos). Validated with https://config.travis-ci.com/explore
* | | Travis-CI: No-change cleanup of bad syntax in .travis-ci.ymlOtto Kekäläinen2020-03-231-60/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Travis-CI: Ignore clang/GCC 6 that permanently fails on 10.5 branchbb-10.5-pr1471Otto Kekäläinen2020-03-181-0/+3
| | | | | | | | | | | | | | | | | | The purpose of a CI system is to validate if a change is acceptable or not. Thus tests that always fail should be ignored, otherwise the result of the CI (green/red) is not reliable and actionable.
* | | Deb: Fix executable bit so dh-exec works (regression in fd2dc9c3fdfb7)Otto Kekäläinen2020-03-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Package contents before this fix: libmariadb-dev-compat drwxr-xr-x root/root ./ drwxr-xr-x root/root ./usr/ drwxr-xr-x root/root ./usr/bin/ lrwxrwxrwx root/root ./usr/bin/mysql_config drwxr-xr-x root/root ./usr/include/ lrwxrwxrwx root/root ./usr/include/mysql drwxr-xr-x root/root ./usr/lib/ drwxr-xr-x root/root ./usr/lib/${DEB_HOST_MULTIARCH}/ drwxr-xr-x root/root ./usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/ lrwxrwxrwx root/root ./usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/mysqlclient.pc drwxr-xr-x root/root ./usr/lib/x86_64-linux-gnu/ lrwxrwxrwx root/root ./usr/lib/x86_64-linux-gnu/libmysqlclient.a lrwxrwxrwx root/root ./usr/lib/x86_64-linux-gnu/libmysqlclient_r.a lrwxrwxrwx root/root ./usr/lib/x86_64-linux-gnu/libmysqlclient_r.so lrwxrwxrwx root/root ./usr/lib/x86_64-linux-gnu/libmysqlclient.so drwxr-xr-x root/root ./usr/share/ drwxr-xr-x root/root ./usr/share/doc/ drwxr-xr-x root/root ./usr/share/doc/libmariadb-dev-compat/ -rw-r--r-- root/root ./usr/share/doc/libmariadb-dev-compat/changelog.gz -rw-r--r-- root/root ./usr/share/doc/libmariadb-dev-compat/copyright With this fix the '/usr/lib/${DEB_HOST_MULTIARCH}/' becomes correctly populated with the actual architecture dependent path. Also add dh-exec to Travis-CI testing so that CI passes. As an extra small thing, clean away excess executable bit from Mroonga plugin maintainer script that does not need it.
* | | MDEV-21942: Correctly use newer libpcre2 version (regression in b6b6980)Otto Kekäläinen2020-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If libpcre2 (10.x) is not defined and only the older libpcre3 (8.x) would be available, the build would attempt to download it from the Internet, violating many build environment restrictions. Commit b6b69806867b88f3aab82c34a3a881931628ef9e attempted to fix MDEV-21942 but was incomplete, and after in CI systems started failing since the .travis.yml update was missing.
* | | Review comments: Refactoring the duplicatesNamrata Bhave2020-02-241-167/+44
| | | | | | | | | Have separated out the common dependencies on top.
* | | Adding s390x to Travis buildsNamrata Bhave2020-02-241-56/+294
|/ /
* | travis: use galera-4 in 10.4 branch (#1226)Daniel Black2019-03-141-0/+3
| |
* | Merge 10.3 into 10.4Marko Mäkelä2019-01-141-3/+3
|\ \ | |/
| * Merge pull request #559 from grooverdan/10.3-travis-systemversioningShinnok2019-01-091-2/+2
| |\ | | | | | | MDEV-15022 - travis: add versioning to test suite
| | * travis: add versioning to test suiteDaniel Black2019-01-091-2/+2
| | |
| * | Merge pull request #768 from grooverdan/10.3-travis-osx-zstdShinnok2019-01-091-1/+1
| |\ \ | | | | | | | | MDEV-15578 - travis: add zstd for osx
| | * | travis: add zstd for osxDaniel Black2019-01-071-1/+1
| | |/
| * | travis: Fix ccache not used on macOS targetsTeodor Mircea Ionita2018-12-271-1/+2
| |/
* | travis: Fix ccache not used on macOS targetsTeodor Mircea Ionita2018-12-271-1/+2
| |
* | travis: upgrade Ubuntu target dist to 16.04 XenialTeodor Mircea Ionita2018-12-261-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ubuntu 14.04 Trusty is LTS until April 2019 and since we are approaching that, upgrade to Xenial which is LTS until April 2021. One bonus of this upgrade is that the Travis Xenial virtual images have a much bigger disk size, thus no need to limit ccache below the default of 5G anymore. Also had to remove linux/clang-8 toolchain testing since llvm-toolchain-xenial is not listed at: https://github.com/travis-ci/apt-source-safelist/blob/master/ubuntu.json And fails with: Disallowing sources: llvm-toolchain-xenial ... E: Unable to locate package clang-8 E: Unable to locate package llvm-8-dev
* | Merge pull request #937 from grooverdan/10.4-travisShinnok2018-12-251-17/+29
|\ \ | |/ |/| 10.4 travis - newer compilers, ignore common clang warnings
| * travis: add CC_VERSION=8Daniel Black2018-11-231-0/+12
| | | | | | | | clang-8 is experimental so allows its failure on os: linux
| * travis: update CC_VERSIONS to 6 and 7Daniel Black2018-11-231-17/+17
| | | | | | | | Use clang-6,7 too.
* | travis: xcode10.1Daniel Black2018-11-261-1/+1
|/
* travis: llvm repo gpg key missing - use travis definationDaniel Black2018-08-211-2/+2
|
* MDEV-16213: Travis whitespace fix and remove commentTeodor Mircea Ionita2018-06-291-2/+0
|
* MDEV-16213: Further improvements to the Travis configTeodor Mircea Ionita2018-06-291-19/+22
| | | | | | | | | | | | | | | | | * 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-20/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Travis-CI: clean up cruft and add more in-line commmentsOtto Kekäläinen2017-11-211-38/+3
| | | | This will make these files easier to maintain in the future.
* Travis-CI: slim down the deb build so it passes in the 50 minute time limitOtto Kekäläinen2017-11-211-1/+0
| | | | | | | | | The Debian packaging build was failing on Travis-CI due to timeouts. These changes make it faster by skipping less relevant parts of the build, like the test suite, RocksDB, TokuDB and Mroonga. Also fix the usage of the 'make -j' flag to not have any spaces as recommended in an example in the Debian policy.
* Travis-CI: make deb job visible on the parallel jobs listOtto Kekäläinen2017-11-211-0/+2
|
* Merge bb-10.2-ext into 10.3Marko Mäkelä2017-11-021-1/+1
|\
| * travis: osx - xcode 8.3 -> 9.1Daniel Black2017-10-311-1/+1
| | | | | | | | Signed-off-by: Daniel Black <daniel@linux.vnet.ibm.com>
* | travis: no percona tests in 10.3Daniel Black2017-10-271-3/+3
|/ | | | Signed-off-by: Daniel Black <daniel@linux.vnet.ibm.com>
* travis: add clang-5.0Daniel Black2017-08-071-4/+3
| | | | | | Also removed clang-3.9 Signed-off-by: Daniel Black <daniel.black@au.ibm.com>
* MDEV-13288: Travis dependency cracklib-runtimeDaniel Black2017-07-111-0/+2
|
* travis: Debian build - minimise packages, enable ccacheDaniel Black2017-07-071-11/+39
| | | | | | | | | | | Even disabling the ccache on the Debian build didn't always prevent the Travis build running out of space. As an alternative strategy, the number of alternative compilers has been reduced to save space. This additional space has been partially reused by the ccache. Debian build specific packages have been removed from other builds.