Skip to content

Commit

Permalink
Add coveralls support
Browse files Browse the repository at this point in the history
  • Loading branch information
neeckeloo committed May 7, 2013
1 parent 7321cd3 commit 9d83729
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Expand Up @@ -6,6 +6,11 @@ php:
- 5.5

before_script:
- composer install
- composer install --dev

script: phpunit --coverage-text
script:
- mkdir -p build/logs
- phpunit -c phpunit.xml.dist

after_script:
- php vendor/bin/coveralls
3 changes: 3 additions & 0 deletions composer.json
Expand Up @@ -16,6 +16,9 @@
"zendframework/zend-json": "2.*",
"zendframework/zend-servicemanager": "2.*"
},
"require-dev": {
"satooshi/php-coveralls": "dev-master"
},
"autoload": {
"psr-0": {
"AmCharts": "src/"
Expand Down
4 changes: 4 additions & 0 deletions phpunit.xml.dist
Expand Up @@ -21,4 +21,8 @@
<directory suffix=".php">src/AmCharts</directory>
</whitelist>
</filter>

<logging>
<log type="coverage-clover" target="build/logs/clover.xml" />
</logging>
</phpunit>

0 comments on commit 9d83729

Please sign in to comment.