diff --git a/.travis.yml b/.travis.yml index 0b6eb2c4039..088a9cd2b2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -50,6 +50,11 @@ matrix: env: TEST_CONFIG="phpunit.xml" - php: 7.2 env: ELASTICSEARCH_VERSION="1.4.2" TEST_CONFIG="phpunit-integration-legacy-elasticsearch.xml" + - name: Legacy Storage engine tests with MariaDB 10.3 + php: 7.1 + env: TEST_CONFIG="phpunit-integration-legacy.xml" DB="mariadb" DATABASE="mysql://root@localhost/testdb" + addons: + mariadb: 10.3 # test only master, stable branches and pull requests diff --git a/bin/.travis/prepare_unittest.sh b/bin/.travis/prepare_unittest.sh index 5361dd48364..273894518c7 100755 --- a/bin/.travis/prepare_unittest.sh +++ b/bin/.travis/prepare_unittest.sh @@ -22,7 +22,7 @@ if [ "$CUSTOM_CACHE_POOL" = "singleredis" ] ; then fi # Setup DB -if [ "$DB" = "mysql" ] ; then +if [ "$DB" = "mysql" ] || [ "$DB" = "mariadb" ] ; then # https://github.com/travis-ci/travis-ci/issues/3049 # make sure we don't run out of entropy apparently (see link above) sudo apt-get -y install haveged