language: php

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

sudo: false

before_script:
  - composer update --dev
  - wget https://scrutinizer-ci.com/ocular.phar

script:
  - phpunit -c tests/unit/ --coverage-clover=coverage.clover
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
  - phpunit -c tests/container/

language: php

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

sudo: false

before_script:
  - composer update --dev
  - wget https://scrutinizer-ci.com/ocular.phar

script:
  - phpunit -c tests/unit/ --coverage-clover=coverage.clover
  - phpunit -c tests/container/

after_script:
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

Move uploading to after script
Move uploading to after script
