Skip to content

Commit

Permalink
add support for Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Dec 13, 2014
1 parent 343b88d commit 1381e0d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src_dir: Symfony
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm

sudo: false

install:
- travis_retry composer install --no-interaction --prefer-source
- travis_retry composer install --no-interaction --prefer-source

script:
- phpunit --verbose
- php php-cs-fixer --diff --dry-run -v fix
- phpunit --verbose --coverage-clover build/logs/clover.xml
- php php-cs-fixer --diff --dry-run -v fix

after_script:
- php vendor/bin/coveralls -v
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"symfony/stopwatch": "~2.5",
"sebastian/diff": "~1.1"
},
"require-dev": {
"satooshi/php-coveralls": "dev-master"
},
"autoload": {
"psr-4": { "Symfony\\CS\\": "Symfony/CS/" }
},
Expand Down

0 comments on commit 1381e0d

Please sign in to comment.