File tree 3 files changed +19
-2
lines changed
3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 1
1
.idea
2
2
3
+ # composer
3
4
/vendor
4
5
/composer.lock
5
6
6
7
# phpunit
7
8
phpunit.phar
8
9
/phpunit.xml
9
10
/tests /runtime
10
- /tests /data /config.local.php
11
+ /tests /data /config.local.php
12
+
13
+ # coveralls
14
+ coveralls.phar
15
+ /build
Original file line number Diff line number Diff line change @@ -22,7 +22,11 @@ cache:
22
22
- $HOME/.composer/cache
23
23
24
24
install :
25
+ - travis_retry composer require --prefer-dist satooshi/php-coveralls
25
26
- travis_retry composer self-update && composer --version
26
27
- travis_retry composer global require "fxp/composer-asset-plugin:^1.3.1"
27
28
- export PATH="$HOME/.composer/vendor/bin:$PATH"
28
- - travis_retry composer install --prefer-dist --no-interaction
29
+ - travis_retry composer install --prefer-dist --no-interaction
30
+
31
+ after_script :
32
+ - travis_retry php vendor/bin/coveralls -v
Original file line number Diff line number Diff line change 10
10
<directory >./tests</directory >
11
11
</testsuite >
12
12
</testsuites >
13
+ <filter >
14
+ <whitelist processUncoveredFilesFromWhitelist =" true" >
15
+ <directory suffix =" .php" >src</directory >
16
+ </whitelist >
17
+ </filter >
18
+ <logging >
19
+ <log type =" coverage-clover" target =" build/logs/clover.xml" />
20
+ </logging >
13
21
</phpunit >
You can’t perform that action at this time.
0 commit comments