Skip to content

Commit

Permalink
Improved testing
Browse files Browse the repository at this point in the history
Rate limit · GitHub

Access has been restricted

You have triggered a rate limit.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.

GrahamCampbell committed Dec 6, 2014
1 parent cc5fddd commit 4cbe719
Showing 2 changed files with 19 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -6,10 +6,10 @@ php:
- 5.6
- hhvm

before_install:
- composer self-update

sudo: false

install:
- composer install --prefer-source --no-interaction --dev
- travis_retry composer install --no-interaction --prefer-source

script: phpunit
script:
- vendor/bin/phpunit
17 changes: 14 additions & 3 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -7,12 +7,23 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
syntaxCheck="false"
syntaxCheck="true"
strict="false"
verbose="true"
>
<testsuites>
<testsuite name="Package Test Suite">
<directory suffix=".php">./tests/</directory>
<testsuite name="API Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory>./src/config</directory>
</exclude>
</whitelist>
</filter>
</phpunit>

0 comments on commit 4cbe719

Please sign in to comment.