language: php

php:
  - 5.6
  - 7.0

script : phpunit --coverage-clover=coverage.clover && wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover

before_script:
  - composer install --dev 
