Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

Merged
merged 1 commit into from about 2 years ago

2 participants

Kim Hemsø Rasmussen Benjamin Eberlei
Kim Hemsø Rasmussen

No description provided.

Benjamin Eberlei beberlei merged commit 50fb812 into from April 09, 2012
Benjamin Eberlei beberlei closed this April 09, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 08, 2012
Kim Hemsø Rasmussen [mysql] Added mysqli driver to travis tests. a61a0e3
This page is out of date. Refresh to see the latest.
2  .travis.yml
@@ -7,6 +7,7 @@ env:
7 7
   - DB=mysql
8 8
   - DB=pgsql
9 9
   - DB=sqlite
  10
+  - DB=mysqli
10 11
 
11 12
 before_script:
12 13
   - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS doctrine_tests;' -U postgres; fi"
@@ -14,6 +15,7 @@ before_script:
14 15
   - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database doctrine_tests;' -U postgres; fi"
15 16
   - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'create database doctrine_tests_tmp;' -U postgres; fi"
16 17
   - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS doctrine_tests_tmp;create database IF NOT EXISTS doctrine_tests;'; fi"
  18
+  - sh -c "if [ '$DB' = 'mysqli' ]; then mysql -e 'create database IF NOT EXISTS doctrine_tests_tmp;create database IF NOT EXISTS doctrine_tests;'; fi"
17 19
   - git submodule update --init
18 20
 
19 21
 script: phpunit --configuration tests/travis/$DB.travis.xml
32  tests/travis/mysqli.travis.xml
... ...
@@ -0,0 +1,32 @@
  1
+<?xml version="1.0" encoding="utf-8"?>
  2
+<phpunit>
  3
+    <php>
  4
+        <var name="db_type" value="mysqli"/>
  5
+        <var name="db_host" value="localhost" />
  6
+        <var name="db_username" value="travis" />
  7
+        <var name="db_password" value="" />
  8
+        <var name="db_name" value="doctrine_tests" />
  9
+        <var name="db_port" value="3306"/>
  10
+
  11
+        <var name="tmpdb_type" value="mysqli"/>
  12
+        <var name="tmpdb_host" value="localhost" />
  13
+        <var name="tmpdb_username" value="travis" />
  14
+        <var name="tmpdb_password" value="" />
  15
+        <var name="tmpdb_name" value="doctrine_tests_tmp" />
  16
+        <var name="tmpdb_port" value="3306"/>
  17
+    </php>
  18
+
  19
+    <testsuites>
  20
+        <testsuite name="Doctrine DBAL Test Suite">
  21
+            <directory>./../Doctrine/Tests/DBAL</directory>
  22
+        </testsuite>
  23
+    </testsuites>
  24
+    <groups>
  25
+        <exclude>
  26
+            <group>performance</group>
  27
+            <group>locking_functional</group>
  28
+        </exclude>
  29
+    </groups>
  30
+
  31
+</phpunit>
  32
+
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.