language: php
php:
  - 5.5
  - 5.6
  - hhvm
install:
  - composer selfupdate
  - composer install --prefer-source
  - if [ "$TRAVIS_PHP_VERSION" == 'hhvm' ]; then
      composer remove henrikbjorn/phpspec-code-coverage --dev --no-update;
    fi;
script:
  - ./vendor/bin/phpunit
  - ./vendor/bin/phpspec run
after_success:
  - if [ "$TRAVIS_PHP_VERSION" == '5.6' ]; then
      wget https://scrutinizer-ci.com/ocular.phar;
      php ocular.phar code-coverage:upload --format=php-clover build/reports/phpspec.xml;
      php ocular.phar code-coverage:upload --format=php-clover build/reports/phpunit.xml;
    fi;
language: php
php:
  - 5.5
  - 5.6
  - hhvm
install:
  - composer selfupdate
  - composer install --prefer-source
  - if [ "$TRAVIS_PHP_VERSION" == 'hhvm' ]; then
      composer remove henrikbjorn/phpspec-code-coverage --dev;
    fi;
script:
  - ./vendor/bin/phpunit
  - ./vendor/bin/phpspec run
after_success:
  - if [ "$TRAVIS_PHP_VERSION" == '5.6' ]; then
      wget https://scrutinizer-ci.com/ocular.phar;
      php ocular.phar code-coverage:upload --format=php-clover build/reports/phpspec.xml;
      php ocular.phar code-coverage:upload --format=php-clover build/reports/phpunit.xml;
    fi;
Remove no update flag from hhvm fix
Remove no update flag from hhvm fix
