Skip to content

Commit

Permalink
added config and package for coveralls reports
Browse files Browse the repository at this point in the history
  • Loading branch information
ramunasd committed Jul 12, 2015
1 parent 2548b19 commit ca751e6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,13 @@ php:

install: composer update

script: phpunit -v
before_script:
- composer install --dev --no-interaction

script:
- mkdir -p build/logs
- phpunit -v

after_script:
- php vendor/bin/coveralls

Empty file added build/.gitkeep
Empty file.
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,16 @@
"doctrine/dbal" : "~2.0"
},
"config" : {
"bin-dir" : "bin",
"bin-dir" : "vendor/bin",
"process-timeout" : 1200
},
"extra" : {
"branch-alias" : {
"dev-master" : "1.0-dev"
}
},
"minumum-stablility" : "stable"
"minumum-stablility" : "stable",
"require-dev": {
"satooshi/php-coveralls": "^0.6.1"
}
}
3 changes: 3 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@
</testsuites>
<filter>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>

0 comments on commit ca751e6

Please sign in to comment.