Skip to content

Commit b6e6334

Browse files
committed
ICM: Travis, coveralls configs added.
1 parent 7fbad97 commit b6e6334

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.coveralls.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
coverage_clover: tests/logs/clover.xml
2+
json_path: tests/logs/coveralls-upload.json
3+
service_name: travis-ci

.travis.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: php
2+
3+
php:
4+
- 5.6
5+
- 7.0
6+
7+
install:
8+
- composer install
9+
- composer require satooshi/php-coveralls --dev
10+
11+
script:
12+
- phpunit --coverage-clover ./tests/logs/clover.xml
13+
14+
after_script:
15+
- php vendor/bin/coveralls -v

0 commit comments

Comments
 (0)