language: php

php:
  - 5.3
  - 5.4
  - 5.5

before_install: composer selfupdate
install: composer install
script: ./vendor/bin/phpunit

language: php

php:
  - 5.3
  - 5.4
  - 5.5

before_install: composer selfupdate
install: composer install
before_script: mkdir -p build/coverage
script: ./vendor/bin/phpunit --coverage-clover=build/coverage/clover.xml

after_success:
  - composer require scrutinizer/ocular:~1.0.0
  - vendor/bin/ocular code-coverage:upload --format=php-clover build/coverage/clover.xml

Add code coverage upload to Scrutinizer
Add code coverage upload to Scrutinizer