language: php

php:
  - 7
  - hhvm

before_script:
    - composer self-update
    - composer install

script:
  - mkdir -p build/logs
  - vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
  - vendor/bin/coveralls -v

language: php

php:
  - 7
  - hhvm

before_script:
    - composer self-update
    - composer install --ignore-platform-reqs

script:
  - mkdir -p build/logs
  - vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
  - vendor/bin/coveralls -v

Fix HHVM tests on Travis CI
Fix HHVM tests on Travis CI

HHVM is not reported as fully compatible with PHP 7 yet:
https://github.com/composer/composer/issues/4976
