Permalink
Browse files

more build config stuff

  • Loading branch information...
1 parent 1368208 commit 939d94e818e3829cec325729b7b05af6a75490bc @triplepoint committed Dec 25, 2012
Showing with 20 additions and 17 deletions.
  1. +2 −2 .travis.yml
  2. +1 −1 tests/phpcs.xml
  3. +16 −13 tests/phpunit.xml.dist
  4. +1 −1 tests/phpunit_bootstrap.php
View
@@ -9,8 +9,8 @@ before_script:
- composer install --verbose --dev --prefer-dist -o
script:
- - ./vendor/bin/phpunit --coverage-text --colors --verbose --configuration=./tests ./tests
- - ./vendor/bin/phpcs --encoding=utf-8 --extensions=php --standard=./tests/phpcs.xml -nspv ./
+ - ./vendor/bin/phpunit --configuration=./tests
+ - ./vendor/bin/phpcs --encoding=utf-8 --extensions=php --standard=./tests/phpcs.xml -nsp ./
notifications:
email: false
View
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<ruleset name="Custom Standard">
+<ruleset name="Groundhog">
<description>The Groundhog coding standard.</description>
View
@@ -1,24 +1,27 @@
<?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="phpunit_bootstrap.php"
+<phpunit
+ bootstrap="phpunit_bootstrap.php"
+ colors="true"
+ verbose="true"
>
- <!-- Code Coverage inclusion: Everything in source, nothing in vendor -->
+ <testsuites>
+ <testsuite name="Standard Test Suite">
+ <directory>./</directory>
+ </testsuite>
+ </testsuites>
+
+ <logging>
+ <log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/>
+ </logging>
+
<filter>
<whitelist>
- <directory suffix=".php">source</directory>
+ <directory suffix=".php">../source</directory>
</whitelist>
<blacklist>
- <directory suffix=".php">vendor</directory>
+ <directory suffix=".php">../vendor</directory>
</blacklist>
</filter>
@@ -1,3 +1,3 @@
<?php
-require 'vendor/autoload.php';
+require __DIR__ . '/../vendor/autoload.php';

0 comments on commit 939d94e

Please sign in to comment.