Skip to content

Commit 9cc76f1

Browse files
committed
Update coveralls configuration
1 parent 244d8c9 commit 9cc76f1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ before_script:
2727
- psql -c "CREATE DATABASE testing;" -U postgres
2828
- psql -c "CREATE USER homestead WITH PASSWORD 'secret';" -U postgres
2929

30+
script:
31+
- mkdir -p build/logs
32+
- php vendor/bin/phpunit -c phpunit.xml
33+
3034
after_success:
3135
- travis_retry php vendor/bin/php-coveralls -v
3236

phpunit.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
processIsolation="false"
1111
stopOnFailure="true"
1212
>
13+
<logging>
14+
<log type="coverage-clover" target="build/logs/clover.xml"/>
15+
</logging>
1316
<testsuites>
1417
<testsuite name="Feature">
1518
<directory suffix="Test.php">./tests/Feature</directory>

0 commit comments

Comments
 (0)