language: php

php:
  - 5.6
  - 7.0
  - hhvm

before_script:
  - composer install --dev

script:
  - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover --colors

after_script:
  - if [ $TRAVIS_PHP_VERSION = '5.6' ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover clover.xml; fi

matrix:
  allow_failures:
     - php: hhvm

language: php

php:
  - 5.6
  - 7.0
  - hhvm

before_script:
  - composer install --dev

script:
  - vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml --colors

after_script:
  - if [ $TRAVIS_PHP_VERSION = '5.6' ]; then wget https://scrutinizer-ci.com/ocular.phar; php ocular.phar code-coverage:upload --format=php-clover clover.xml; fi

matrix:
  allow_failures:
     - php: hhvm

Fix copy and paste failure
Fix copy and paste failure
