From 57ca8498488f15d92469fc529d66db32887bfa50 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Thu, 23 Jul 2015 12:51:21 +0900 Subject: [PATCH] Add test for MariaDB 5.5 and 10.1 on Travis This use the brand new supported addon mariadb (not yet officially announced). This is unfortunately a bit verbose, but I don't think there is any alternative because we cannot install the addon when testing against mysql otherwise it would overwrite mysql install. --- .travis.yml | 42 +++++++++++++++++++++++++++++++++ tests/travis/mariadb.travis.xml | 36 ++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 tests/travis/mariadb.travis.xml diff --git a/.travis.yml b/.travis.yml index c797481f2..e4e04424e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,6 +26,48 @@ after_script: - php vendor/bin/coveralls -v matrix: + include: + - php: 5.4 + env: DB=mariadb + addons: + mariadb: 5.5 + - php: 5.5 + env: DB=mariadb + addons: + mariadb: 5.5 + - php: 5.6 + env: DB=mariadb + addons: + mariadb: 5.5 + - php: 7.0 + env: DB=mariadb + addons: + mariadb: 5.5 + - php: hhvm + env: DB=mariadb + addons: + mariadb: 5.5 + + - php: 5.4 + env: DB=mariadb + addons: + mariadb: 10.1 + - php: 5.5 + env: DB=mariadb + addons: + mariadb: 10.1 + - php: 5.6 + env: DB=mariadb + addons: + mariadb: 10.1 + - php: 7.0 + env: DB=mariadb + addons: + mariadb: 10.1 + - php: hhvm + env: DB=mariadb + addons: + mariadb: 10.1 exclude: - php: hhvm env: DB=pgsql # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency diff --git a/tests/travis/mariadb.travis.xml b/tests/travis/mariadb.travis.xml new file mode 100644 index 000000000..bac3fa480 --- /dev/null +++ b/tests/travis/mariadb.travis.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + ./../Doctrine/Tests/ORM + + + + + ./../../lib/Doctrine + + + + + performance + locking_functional + + + + +