Skip to content

Commit

Permalink
Configure coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasnoback committed Jul 6, 2015
1 parent 58204da commit f76d355
Show file tree
Hide file tree
Showing 5 changed files with 247 additions and 15 deletions.
31 changes: 20 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
language: php

php:
- 5.4
- 5.5
- 5.6
- hhvm

matrix:
allow_failures:
- php: hhvm
include:
- php: 5.3
env: SYMFONY_VERSION=2.3.*
- php: 5.6
env: SYMFONY_VERSION=2.7.*

before_install:
- composer require --dev --no-update symfony/framework-bundle "$SYMFONY_VERSION"

install:
- composer update --prefer-source

script:
- vendor/bin/phpunit

after_script:
- vendor/bin/coveralls

before_script:
- composer install --dev --prefer-source
notifications:
email: matthiasnoback@gmail.com

script: phpunit --coverage-clover=coverage.clover
sudo: false
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

By Matthias Noback

[![Coverage Status](https://coveralls.io/repos/matthiasnoback/symfony-bundle-plugins/badge.svg)](https://coveralls.io/r/matthiasnoback/symfony-bundle-plugins)

This package helps you create extensible bundles, by introducing a plugin
system for bundles. Each bundle plugin can define its own services and
configuration. This basically makes your bundles conform to the open/closed
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
},
"require-dev": {
"phpunit/phpunit": "~4.0",
"symfony/framework-bundle": "~2.3"
"symfony/framework-bundle": "~2.3",
"satooshi/php-coveralls": "^0.6.1"
}
}
225 changes: 223 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,5 @@
lowUpperBound="35"
highLowerBound="70" />
<log type="coverage-clover" target="build/logs/clover.xml"/>
<log type="junit" target="build/logs/junit.xml" logIncompleteSkipped="false" />
</logging>
</phpunit>

0 comments on commit f76d355

Please sign in to comment.