mirror of
https://github.com/fenom-template/fenom.git
synced 2023-08-10 21:13:07 +03:00
Add coveralls
This commit is contained in:
parent
872735fef3
commit
cf0dec5b09
5
.coveralls.yml
Normal file
5
.coveralls.yml
Normal file
@ -0,0 +1,5 @@
|
||||
service_name: travis-ci
|
||||
|
||||
src_dir: src
|
||||
coverage_clover: build/logs/clover.xml
|
||||
|
@ -5,6 +5,11 @@ php:
|
||||
- 5.4
|
||||
- 5.5
|
||||
|
||||
before_script: composer install --no-dev
|
||||
before_script:
|
||||
- composer install --dev
|
||||
|
||||
script: phpunit
|
||||
script:
|
||||
- phpunit
|
||||
|
||||
after_script:
|
||||
- php vendor/bin/coveralls
|
@ -15,9 +15,9 @@
|
||||
"ext-tokenizer": "*"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "3.7.*",
|
||||
"smarty/smarty": "3.*",
|
||||
"twig/twig": "1.*"
|
||||
"twig/twig": "1.*",
|
||||
"satooshi/php-coveralls": "dev-master"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": { "Fenom\\": "src/" },
|
||||
|
@ -34,4 +34,8 @@
|
||||
<directory>./src/</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
<logging>
|
||||
<log type="coverage-clover" target="build/logs/clover.xml"/>
|
||||
<!--<log type="coverage-php" target="build/cov/coverage.cov"/>-->
|
||||
</logging>
|
||||
</phpunit>
|
Loading…
Reference in New Issue
Block a user