language: php
php:
  - 5.5
  - 5.6
  - hhvm
branches:
  only:
    - master
install:
  - composer selfupdate
  - composer install --prefer-source
script:
  - ./vendor/bin/phpunit
after_success:
  - if [ "$TRAVIS_PHP_VERSION" == '5.6' ]; then
      wget https://scrutinizer-ci.com/ocular.phar;
      php ocular.phar code-coverage:upload --format=php-clover build/reports/phpunit.xml;
    fi;
language: php
php:
  - 5.6
  - 7.0
  - hhvm
branches:
  only:
    - master
install:
  - composer selfupdate
  - composer install --prefer-source
script:
  - ./vendor/bin/phpunit
after_success:
  - if [ "$TRAVIS_PHP_VERSION" == '7.0' ]; then
      wget https://scrutinizer-ci.com/ocular.phar;
      php ocular.phar code-coverage:upload --format=php-clover build/reports/phpunit.xml;
    fi;

Drop 5.5 support and add 7.0
Drop 5.5 support and add 7.0
