Permalink
Browse files

Merge branch '1.2'

  • Loading branch information...
2 parents c1b0d40 + 7f629ed commit 3fdd0c1f8fff13eeb0dc16981879b2868667556d @sebastianbergmann committed Jan 6, 2013
Showing with 48 additions and 0 deletions.
  1. +24 −0 .travis.yml
  2. +24 −0 build/travis-ci.xml
View
@@ -0,0 +1,24 @@
+language: php
+
+php:
+ - 5.3
+ - 5.4
+
+before_script:
+ - mkdir -p vendor/SebastianBergmann
+ - git clone --branch=3.7 --depth=100 --quiet git://github.com/sebastianbergmann/phpunit.git vendor/phpunit
+ - git clone --branch=1.2 --depth=100 --quiet git://github.com/sebastianbergmann/phpunit-mock-objects.git vendor/phpunit-mock-objects
+ - git clone --branch=master --depth=100 --quiet git://github.com/sebastianbergmann/php-text-template.git vendor/php-text-template
+ - git clone --branch=master --depth=100 --quiet git://github.com/sebastianbergmann/php-token-stream.git vendor/php-token-stream
+ - git clone --branch=master --depth=100 --quiet git://github.com/sebastianbergmann/php-file-iterator.git vendor/php-file-iterator
+ - git clone --branch=master --depth=100 --quiet git://github.com/sebastianbergmann/php-timer.git vendor/php-timer
+ - git clone --branch=master --depth=100 --quiet git://github.com/sebastianbergmann/version.git vendor/version
+ - ln -s ~/builds/sebastianbergmann/php-code-coverage/vendor/version/src ~/builds/sebastianbergmann/php-code-coverage/vendor/SebastianBergmann/Version
+ - git clone --branch=master --depth=100 --quiet git://github.com/pear/pear-core.git vendor/pear-core
+ - git clone --branch=trunk --depth=100 --quiet git://github.com/pear/Console_Getopt.git vendor/console-getopt
+
+script: php -d include_path=vendor/php-text-template:vendor/php-token-stream:vendor/php-file-iterator:vendor/phpunit:vendor/phpunit-mock-objects:vendor/php-timer:vendor/php-invoker:vendor/pear-core:vendor/console-getopt:vendor:. ./vendor/phpunit/phpunit.php --configuration ./build/travis-ci.xml
+
+notifications:
+ email: false
+ irc: "irc.freenode.org#phpunit"
View
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<phpunit backupGlobals="false"
+ backupStaticAttributes="false"
+ colors="true">
+ <testsuites>
+ <testsuite name="PHP_CodeCoverage">
+ <directory suffix="Test.php">../Tests/PHP</directory>
+ </testsuite>
+ </testsuites>
+
+ <logging>
+ <log type="coverage-text" target="php://stdout"/>
+ </logging>
+
+ <filter>
+ <whitelist addUncoveredFilesFromWhitelist="true">
+ <directory suffix=".php">../PHP</directory>
+ <exclude>
+ <file>../PHP/CodeCoverage/Autoload.php</file>
+ </exclude>
+ </whitelist>
+ </filter>
+</phpunit>

0 comments on commit 3fdd0c1

Please sign in to comment.