Skip to content

Commit

Permalink
Enables code coverage tacking
Browse files Browse the repository at this point in the history
  • Loading branch information
ptejada committed Sep 29, 2018
1 parent 52b21aa commit 9d81ada
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -7,3 +7,5 @@ php:

install:
- composer install

after_script: bash <(curl -s https://codecov.io/bash)
18 changes: 9 additions & 9 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 4 additions & 10 deletions phpunit.xml
@@ -1,14 +1,5 @@
<?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="vendor/autoload.php">
<phpunit bootstrap="vendor/autoload.php" colors="true">
<testsuites>
<testsuite name="Darkroom Test Suite">
<directory>./tests/</directory>
Expand All @@ -19,4 +10,7 @@
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="clover.xml"/>
</logging>
</phpunit>

0 comments on commit 9d81ada

Please sign in to comment.