Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add additional databases setup on Travis (ezsystems#2468)
* EZP-29740: Run integration tests on MariaDB 10.3

* EZP-29740: Change job name
  • Loading branch information
mnocon authored and Łukasz Serwatka committed Oct 31, 2018
1 parent d193904 commit 13eda2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bin/.travis/prepare_unittest.sh
Expand Up @@ -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
Expand Down

0 comments on commit 13eda2b

Please sign in to comment.