Skip to content

Commit 891369d

Browse files
committed
Add code coverage report
1 parent 4924e39 commit 891369d

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

.coveralls.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src_dir: lib

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1+
build/
12
logs/
23
nbproject/
4+
vendor/
5+
composer.lock

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,12 @@ php:
66
- 5.5
77
- hhvm
88

9-
script: phpunit
9+
before_script:
10+
- composer install --dev --no-interaction
11+
12+
script:
13+
- mkdir -p build/logs
14+
- phpunit --coverage-clover build/logs/clover.xml
15+
16+
after_script:
17+
- vendor/bin/coveralls

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
"php": ">=5.3.2",
2727
"ext-curl": "*"
2828
},
29+
"require-dev": {
30+
"satooshi/php-coveralls": "dev-master"
31+
},
2932
"autoload": {
3033
"psr-0": {
3134
"WebDriver": "lib/"

0 commit comments

Comments
 (0)