Skip to content

Commit 2595b26

Browse files
committed
towards coverage logs
1 parent 03cabc0 commit 2595b26

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

.travis.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,21 @@ language: php
22

33
php:
44
- '5.4'
5+
- '5.5'
56
- '5.6'
67
- '7.0'
7-
- hhvm # on Trusty only
8+
- '7.1'
89
- nightly
10+
- hhvm
11+
- hhvm-nightly
912

1013
install:
1114
- composer self-update
12-
- composer install
15+
- composer install --dev --no-interaction
1316

17+
script:
18+
- mkdir -p build/logs
19+
- php vendor/bin/phpunit -c phpunit.xml.dist
20+
21+
after_success:
22+
- travis_retry php vendor/bin/coveralls -v

composer.json

+4
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,9 @@
1313
"psr-4": {
1414
"iamcal\\" : "src"
1515
}
16+
},
17+
"require-dev": {
18+
"phpunit/phpunit": ">=4.8",
19+
"php-coveralls/php-coveralls": "~1.0"
1620
}
1721
}

phpunit.xml.dist

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
</testsuite>
77
</testsuites>
88
<logging>
9-
<log type="coverage-clover" target="clover.xml"/>
9+
<log type="coverage-clover" target="build/logs/clover.xml"/>
1010
</logging>
1111
</phpunit>

0 commit comments

Comments
 (0)