Skip to content

Commit

Permalink
configure PHPUnit for Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Minishlink committed Nov 27, 2015
1 parent 27eb13a commit 941b034
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ php:
- hhvm

before_script:
- composer self-update
- composer install --prefer-source --no-interaction --dev
- composer install --prefer-source -n

script: phpunit
script: phpunit -c phpunit.travis.xml
17 changes: 17 additions & 0 deletions phpunit.travis.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false">
<testsuites>
<testsuite name="WebPush Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
</phpunit>

0 comments on commit 941b034

Please sign in to comment.