Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix travis configuration files

  • Loading branch information...
commit 077d4a0e1587b49e3aa60b98d51520798dff0c5c 1 parent 0fdffb9
Benjamin Eberlei authored November 13, 2011
47  tests/travis/mysql.travis.xml
... ...
@@ -1,34 +1,31 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2 2
 <phpunit>
3  
- <php>
4  
-   <!-- "Real" test database -->
5  
-   <var name="db_type" value="pdo_mysql"/>
6  
-   <var name="db_host" value="localhost" />
7  
-   <!--var name="db_username" value="" /-->
8  
-   <!--var name="db_password" value="" /-->
9  
-   <var name="db_name" value="doctrine_tests" />
10  
-   <var name="db_port" value="3306"/>
11  
-   <!--<var name="db_event_subscribers" value="Doctrine\DBAL\Event\Listeners\OracleSessionInit">-->
  3
+    <php>
  4
+        <var name="db_type" value="pdo_mysql"/>
  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"/>
12 10
 
13  
-   <!-- Database for temporary connections (i.e. to drop/create the main database) -->
14  
-   <var name="tmpdb_type" value="pdo_mysql"/>
15  
-   <var name="tmpdb_host" value="localhost" />
16  
-   <!--var name="tmpdb_username" value="" /-->
17  
-   <!--var name="tmpdb_password" value="" /-->
18  
-   <var name="tmpdb_name" value="doctrine_tests_tmp" />
19  
-   <var name="tmpdb_port" value="3306"/>
20  
-</php>
  11
+        <var name="tmpdb_type" value="pdo_mysql"/>
  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>
21 18
 
22  
-   <testsuites>
23  
-     <testsuite name="Doctrine ORM Test Suite">
24  
-        <directory>./../Doctrine/Tests/ORM</directory>
25  
-     </testsuite>
  19
+    <testsuites>
  20
+        <testsuite name="Doctrine ORM Test Suite">
  21
+            <directory>./../Doctrine/Tests/ORM</directory>
  22
+        </testsuite>
26 23
     </testsuites>
27 24
     <groups>
28  
-      <exclude>
29  
-         <group>performance</group>
30  
-         <group>locking_functional</group>
31  
-      </exclude>
  25
+        <exclude>
  26
+            <group>performance</group>
  27
+            <group>locking_functional</group>
  28
+        </exclude>
32 29
     </groups>
33 30
 
34 31
 </phpunit>
50  tests/travis/pgsql.travis.xml
... ...
@@ -1,34 +1,34 @@
1 1
 <?xml version="1.0" encoding="utf-8"?>
2 2
 <phpunit>
3  
- <php>
  3
+    <php>
4 4
    <!-- "Real" test database -->
5  
-   <var name="db_type" value="pdo_pgsql"/>
6  
-   <var name="db_host" value="localhost" />
7  
-   <var name="db_username" value="postgres" />
8  
-   <var name="db_password" value="" />
9  
-   <var name="db_name" value="doctrine_tests" />
10  
-   <var name="db_port" value="5432"/>
  5
+        <var name="db_type" value="pdo_pgsql"/>
  6
+        <var name="db_host" value="localhost" />
  7
+        <var name="db_username" value="postgres" />
  8
+        <var name="db_password" value="" />
  9
+        <var name="db_name" value="doctrine_tests" />
  10
+        <var name="db_port" value="5432"/>
11 11
    <!--<var name="db_event_subscribers" value="Doctrine\DBAL\Event\Listeners\OracleSessionInit">-->
12 12
 
13 13
    <!-- Database for temporary connections (i.e. to drop/create the main database) -->
14  
-   <var name="tmpdb_type" value="pdo_pgsql"/>
15  
-   <var name="tmpdb_host" value="localhost" />
16  
-   <var name="tmpdb_username" value="postgres" />
17  
-   <var name="tmpdb_password" value="" />
18  
-   <var name="tmpdb_name" value="doctrine_tests_tmp" />
19  
-   <var name="tmpdb_port" value="5432"/>
20  
- </php>
21  
-   <testsuites>
22  
-       <testsuite name="Doctrine ORM Test Suite">
23  
-           <directory>./../Doctrine/Tests/ORM</directory>
24  
-       </testsuite>
25  
-   </testsuites>
  14
+        <var name="tmpdb_type" value="pdo_pgsql"/>
  15
+        <var name="tmpdb_host" value="localhost" />
  16
+        <var name="tmpdb_username" value="postgres" />
  17
+        <var name="tmpdb_password" value="" />
  18
+        <var name="tmpdb_name" value="doctrine_tests_tmp" />
  19
+        <var name="tmpdb_port" value="5432"/>
  20
+    </php>
  21
+    <testsuites>
  22
+        <testsuite name="Doctrine ORM Test Suite">
  23
+            <directory>./../Doctrine/Tests/ORM</directory>
  24
+        </testsuite>
  25
+    </testsuites>
26 26
 
27  
-   <groups>
28  
-       <exclude>
29  
-           <group>performance</group>
30  
-           <group>locking_functional</group>
31  
-       </exclude>
32  
-   </groups>
  27
+    <groups>
  28
+        <exclude>
  29
+            <group>performance</group>
  30
+            <group>locking_functional</group>
  31
+        </exclude>
  32
+    </groups>
33 33
 
34 34
 </phpunit>

0 notes on commit 077d4a0

Please sign in to comment.
Something went wrong with that request. Please try again.