language: php

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

matrix:
    allow_failures:
        - php: hhvm
        - php: 7.0

before_script:
    - composer require satooshi/php-coveralls:dev-master --dev --no-progress --prefer-source

script:
    - mkdir -p .travis/logs
    - vendor/bin/phpunit --coverage-clover .travis/logs/clover.xml
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover .travis/logs/clover.xml
    - vendor/bin/phpcs -p --report=full --extensions=php --standard=.travis/phpcs/Joomla/ruleset.xml src/

after_script:
    - php vendor/bin/coveralls -v

language: php

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

matrix:
  allow_failures:
    - php: hhvm

before_script:
  - composer require satooshi/php-coveralls:dev-master --dev --no-progress --prefer-source

script:
  - mkdir -p .travis/logs
  - vendor/bin/phpunit --coverage-clover .travis/logs/clover.xml
  - wget https://scrutinizer-ci.com/ocular.phar
  - php ocular.phar code-coverage:upload --format=php-clover .travis/logs/clover.xml
  - vendor/bin/phpcs -p --report=full --extensions=php --standard=.travis/phpcs/Joomla/ruleset.xml src/

after_script:
  - php vendor/bin/coveralls -v

Stop allowing failures on PHP 7
Stop allowing failures on PHP 7
