language: php
php:
  - 5.3
  - 5.4
  - 5.5
before_install:
  - composer self-update --no-interaction --ansi
  - composer config notify-on-install false
install:
  - composer install --dev --no-progress --no-interaction --ansi --prefer-source
script:
  - vendor/bin/phpunit --configuration phpunit.xml.dist
after_script:
  - vendor/bin/coveralls --verbose --no-interaction --ansi

language: php

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

matrix:
  allow_failures:
    - php: 7.0

before_script:
  - travis_retry composer self-update
  - composer config notify-on-install false
  - travis_retry composer update --no-interaction --prefer-source

script:
  - vendor/bin/phpunit --configuration phpunit.xml.dist

after_script:
  - if [[ $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then vendor/bin/coveralls --verbose; fi

Update Travis for PHP 5.6, 7.0, and HHVM
Update Travis for PHP 5.6, 7.0, and HHVM
