Skip to content

Commit

Permalink
Add test for MariaDB 5.5, 10.0 and 10.1 on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerKiKi committed Jul 23, 2015
1 parent 8f0b6b7 commit 4aa4f06
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 0 deletions.
75 changes: 75 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,81 @@ before_script:
script: ./vendor/bin/phpunit --configuration tests/travis/$DB.travis.xml

matrix:
include:
- php: 5.3
env: DB=mariadb
addons:
mariadb: 5.5
- 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.3
env: DB=mariadb
addons:
mariadb: 10.0
- php: 5.4
env: DB=mariadb
addons:
mariadb: 10.0
- php: 5.5
env: DB=mariadb
addons:
mariadb: 10.0
- php: 5.6
env: DB=mariadb
addons:
mariadb: 10.0
- php: 7.0
env: DB=mariadb
addons:
mariadb: 10.0
- php: hhvm
env: DB=mariadb
addons:
mariadb: 10.0

- php: 5.3
env: DB=mariadb
addons:
mariadb: 10.1
- 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
allow_failures:
- php: 7.0
- php: hhvm
Expand Down
31 changes: 31 additions & 0 deletions tests/travis/mariadb.travis.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<phpunit bootstrap="../Doctrine/Tests/TestInit.php">
<php>
<var name="db_type" value="pdo_mysql"/>
<var name="db_host" value="localhost" />
<var name="db_username" value="travis" />
<var name="db_password" value="" />
<var name="db_name" value="doctrine_tests" />
<var name="db_port" value="3306"/>

<var name="tmpdb_type" value="pdo_mysql"/>
<var name="tmpdb_host" value="localhost" />
<var name="tmpdb_username" value="travis" />
<var name="tmpdb_password" value="" />
<var name="tmpdb_port" value="3306"/>
</php>

<testsuites>
<testsuite name="Doctrine DBAL Test Suite">
<directory>../Doctrine/Tests/DBAL</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>performance</group>
<group>locking_functional</group>
</exclude>
</groups>

</phpunit>

0 comments on commit 4aa4f06

Please sign in to comment.