sudo: false
language: php
php:
  - 5.5
  - 5.6
  - hhvm
  - 7
before_script:
  - composer self-update
  - composer install
script:
  - phpunit --coverage-clover=coverage.clover
after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

sudo: false
language: php
php:
  - 5.5
  - 5.6
  - hhvm
  - 7
matrix:
  include:
    - php: 5.5
      env: dependencies=lowest
    - php: 5.6
      env: dependencies=lowest
    - php: hhvm
      env: dependencies=lowest
    - php: 7
      env: dependencies=lowest
before_script:
  - composer self-update
  - if [ -z "$dependencies" ]; then composer install; fi;
  - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest; fi;
script:
  - phpunit --coverage-clover=coverage.clover
after_script:
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

Make sure both php-parser 1 and 2 are tested
Make sure both php-parser 1 and 2 are tested
