language: php
php:
  - 5.3
  - 5.4
  - 5.5
script: phpunit --bootstrap vendor/autoload.php tests/
install:
  - composer install

language: php
php:
  - 5.3
  - 5.4
  - 5.5
script: phpunit --coverage-clover=coverage.clover --bootstrap vendor/autoload.php tests/
after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
install:
  - composer install

Change Travis to upload coverage report
Change Travis to upload coverage report

Scrutinizer needs that Travis send coverage report after run tests and
this commit make sure it'll be send.
