Skip to content
This repository has been archived by the owner on Sep 14, 2019. It is now read-only.

Commit

Permalink
more build config stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
triplepoint committed Dec 25, 2012
1 parent 1368208 commit 939d94e
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/phpcs.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<ruleset name="Custom Standard">
<ruleset name="Groundhog">

<description>The Groundhog coding standard.</description>

Expand Down
29 changes: 16 additions & 13 deletions tests/phpunit.xml.dist
@@ -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>

Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit_bootstrap.php
@@ -1,3 +1,3 @@
<?php

require 'vendor/autoload.php';
require __DIR__ . '/../vendor/autoload.php';

0 comments on commit 939d94e

Please sign in to comment.