Skip to content

Commit

Permalink
Adds Coveralls config
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrzejchalubek committed Jan 20, 2017
1 parent 534be8f commit d76434d
Show file tree
Hide file tree
Showing 3 changed files with 378 additions and 8 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ notifications:
on_success: never
on_failure: change

branches:
only:
- master

php:
- '5.6'
- '7.0'
Expand All @@ -18,4 +14,9 @@ before_script:
- composer self-update
- composer install --no-interaction --dev

script: phpunit
script:
- mkdir -p build/logs
- phpunit --coverage-clover build/logs/clover.xml

after_script:
- php vendor/bin/coveralls -v
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@

"brain/monkey": "~1.3.0",
"mockery/mockery": "~1.0.0",
"phpunit/phpunit": "~5.3.0"
"phpunit/phpunit": "~5.3.0",
"satooshi/php-coveralls": "~1.0.0"
},
"suggest": {
"symfony/console": "[Gin CLI] Required for the proper operation of Console component",
Expand Down
Loading

0 comments on commit d76434d

Please sign in to comment.