Skip to content

Commit fb1e65f

Browse files
committed
Added code coverage
1 parent 438003c commit fb1e65f

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.coveralls.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
src_dir: ./
2+
json_path: coveralls.json
3+
coverage_clover: coverage.xml

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,10 @@ before_script:
1414
- composer require "laravel/framework:${LARAVEL_VERSION}"
1515
- mysql -e 'create database laravel;'
1616

17-
script: phpunit
17+
script: phpunit --coverage-clover coverage.xml
18+
19+
after_success:
20+
- php vendor/bin/coveralls
21+
22+
matrix:
23+
fast_finish: true

0 commit comments

Comments
 (0)