Permalink
Browse files

Add Travis related information

  • Loading branch information...
1 parent 281539f commit b488137e055ee94e7a39de71f25a71c0e02a9d91 @beberlei beberlei committed Nov 17, 2011
Showing with 57 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +10 −0 .travis.yml
  3. +8 −0 Tests/bootstrap.php
  4. +35 −0 phpunit.xml.dist
View
@@ -0,0 +1,4 @@
+vendor
+composer.phar
+composer.lock
+
View
@@ -0,0 +1,10 @@
+language: php
+
+php:
+ - 5.3
+ - 5.4
+
+before_script:
+ - wget http://getcomposer.org/composer.phar
+ - php composer.phar install
+
View
@@ -0,0 +1,8 @@
+<?php
+
+if (!@include __DIR__ . '/../vendor/.composer/autoload.php') {
+ die("You must set up the project dependencies, run the following commands:
+wget http://getcomposer.org/composer.phar
+php composer.phar install
+");
+}
View
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<phpunit backupGlobals="false"
+ backupStaticAttributes="false"
+ colors="true"
+ convertErrorsToExceptions="true"
+ convertNoticesToExceptions="true"
+ convertWarningsToExceptions="true"
+ processIsolation="false"
+ stopOnFailure="false"
+ syntaxCheck="false"
+ bootstrap="Tests/bootstrap.php"
+>
+ <testsuites>
+ <testsuite name="DoctrineBundle for the Symfony Framework">
+ <directory>./Tests</directory>
+ </testsuite>
+ </testsuites>
+
+ <groups>
+ <exclude>
+ <group>benchmark</group>
+ </exclude>
+ </groups>
+
+ <filter>
+ <whitelist>
+ <directory>.</directory>
+ <exclude>
+ <directory>./Resources</directory>
+ <directory>./Tests</directory>
+ </exclude>
+ </whitelist>
+ </filter>
+</phpunit>

0 comments on commit b488137

Please sign in to comment.