language: php
php:
  - 5.5
  - 5.6
  - 7.0
  - hhvm
  - hhvm-nightly

matrix:
  allow_failures:
    - php: hhvm
    - php: hhvm-nightly
    
cache:
  directories:
    - $HOME/.composer/cache

script:
 - vendor/bin/phpunit --coverage-clover=coverage.clover -v

before_script:
 - composer install --no-interaction

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

notifications:
  irc: "irc.freenode.org#phpdocumentor"
  email:
    - me@mikevanriel.com
    - ashnazg@php.net

language: php
php:
  - 5.5
  - 5.6
  - 7.0
  - hhvm
  - hhvm-nightly

matrix:
  allow_failures:
    - php: hhvm
    - php: hhvm-nightly
    
cache:
  directories:
    - $HOME/.composer/cache

script:
  - vendor/bin/phpunit --coverage-clover=coverage.clover -v
  - composer update --no-interaction --prefer-source --dev
  - vendor/bin/phpunit -v

before_script:
 - composer install --no-interaction

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

notifications:
  irc: "irc.freenode.org#phpdocumentor"
  email:
    - me@mikevanriel.com
    - ashnazg@php.net

Add a Composer Update and another PHPUnit run to test a new version
Add a Composer Update and another PHPUnit run to test a new version
