language: php

php:
  - 5.6
  - hhvm

before_script:
  - travis_retry composer self-update
  - travis_retry composer install --no-interaction --prefer-source

script:
  - phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
  - php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
  - CODECLIMATE_REPO_TOKEN=768d1605b13fe01af3588659bacdf6631702426c0b201952c631c9bb8eaf2d78 ./vendor/bin/test-reporter

language: php

php:
  - 5.6
  - 7.0
  - hhvm

before_script:
  - travis_retry composer self-update
  - travis_retry composer install --no-interaction --prefer-source

script:
  - phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
  - php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
  - CODECLIMATE_REPO_TOKEN=768d1605b13fe01af3588659bacdf6631702426c0b201952c631c9bb8eaf2d78 ./vendor/bin/test-reporter

Add PHP 7 to Travis
Add PHP 7 to Travis
