language: php

php:
    - 5.4
    - 5.5
    - hhvm

matrix:
    fast_finish: true
    allow_failures:
        - php: hhvm

before_script:
    - composer self-update
    - composer update

script:
    - cd $TRAVIS_BUILD_DIR
    - vendor/bin/phpunit -c test/phpunit.xml --coverage-clover=./build/clover.xml
    - vendor/bin/phpcs --standard=PSR2 -s -p src/

after_script:
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover ./build/clover.xml

language: php

php:
    - 5.4
    - 5.5
    - hhvm

matrix:
    fast_finish: true

before_script:
    - composer self-update
    - composer update

script:
    - cd $TRAVIS_BUILD_DIR
    - vendor/bin/phpunit -c test/phpunit.xml --coverage-clover=./build/clover.xml
    - vendor/bin/phpcs --standard=PSR2 -s -p src/

after_script:
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover ./build/clover.xml

Remove HHVM from allowed failures
Remove HHVM from allowed failures
