Skip to content

Commit d20e5b4

Browse files
committed
Update travis to send our coverage report to coveralls
1 parent 29f38cf commit d20e5b4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ before_script: composer install
77

88
script:
99
- vendor/bin/phpunit
10+
11+
after_script:
12+
- mkdir -p build/logs
13+
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
14+
- php vendor/bin/coveralls -v

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
"require-dev": {
2222
"mockery/mockery": "^0.9.9",
2323
"orchestra/testbench": "^3.4",
24-
"phpunit/phpunit": "^6.0"
24+
"phpunit/phpunit": "^6.0",
25+
"satooshi/php-coveralls": "^1.0"
2526
},
2627
"autoload": {
2728
"psr-4": {

0 commit comments

Comments
 (0)