language: php

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

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

script:
#  - phpunit --coverage-text --coverage-clover=coverage.clover
  - bin/phpspec run -v

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

language: php

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

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

script:
  - bin/phpspec run -v

after_script:
  - bash -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi;'

Fix coverage analysis for hhvm
Fix coverage analysis for hhvm
