language: php

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

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

install:
  - composer install --dev --no-interaction --no-progress --prefer-dist

script:
  - vendor/bin/phpunit
  - vendor/bin/phpcs --report=full --standard=PSR2 --encoding=utf-8 src

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

notifications:
  email: jasper@nerdsweide.nl

language: php

php:
  - 5.5
  - 5.6
  - 7.0
  - hhvm

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

install:
  - composer install --dev --no-interaction --no-progress --prefer-dist

script:
  - vendor/bin/phpunit
  - vendor/bin/phpcs --report=full --standard=PSR2 --encoding=utf-8 src

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

notifications:
  email: jasper@nerdsweide.nl

Remove PHP 5.4 from Travis as it's EOL
Remove PHP 5.4 from Travis as it's EOL
