Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

[mysqli] Added mysqli driver to travis tests. #131

Merged
merged 1 commit into from

2 participants

Kim Hemsø Rasmussen Benjamin Eberlei
Kim Hemsø Rasmussen
Collaborator

No description provided.

Benjamin Eberlei beberlei merged commit 50fb812 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 7, 2012
  1. Kim Hemsø Rasmussen
This page is out of date. Refresh to see the latest.
Showing with 34 additions and 0 deletions.
  1. +2 −0  .travis.yml
  2. +32 −0 tests/travis/mysqli.travis.xml
2  .travis.yml
View
@@ -7,6 +7,7 @@ env:
- DB=mysql
- DB=pgsql
- DB=sqlite
+ - DB=mysqli
before_script:
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS doctrine_tests;' -U postgres; fi"
@@ -14,6 +15,7 @@ before_script:
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database doctrine_tests;' -U postgres; fi"
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database doctrine_tests_tmp;' -U postgres; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS doctrine_tests_tmp;create database IF NOT EXISTS doctrine_tests;'; fi"
+ - sh -c "if [ '$DB' = 'mysqli' ]; then mysql -e 'create database IF NOT EXISTS doctrine_tests_tmp;create database IF NOT EXISTS doctrine_tests;'; fi"
- git submodule update --init
script: phpunit --configuration tests/travis/$DB.travis.xml
32 tests/travis/mysqli.travis.xml
View
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<phpunit>
+ <php>
+ <var name="db_type" value="mysqli"/>
+ <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="mysqli"/>
+ <var name="tmpdb_host" value="localhost" />
+ <var name="tmpdb_username" value="travis" />
+ <var name="tmpdb_password" value="" />
+ <var name="tmpdb_name" value="doctrine_tests_tmp" />
+ <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>
+
Something went wrong with that request. Please try again.