language: php

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

matrix:
  allow_failures:
    - php: 7.0

install:
    - composer self-update
    - composer install --prefer-source

#before_script:
    #- sudo apt-get install php5-fpm

script:
    - phpunit --coverage-clover=coverage.clover

after_script:
    - "if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]] && [[ `php-config --vernum` == 50600 ]] ; then wget https://scrutinizer-ci.com/ocular.phar ; php ocular.phar code-coverage:upload --format=php-clover coverage.clover ;fi"


language: php

php:
    - 5.5
    - 5.6
    - 7.0

matrix:
  allow_failures:
    - php: 7.0

install:
    - composer self-update
    - composer install --prefer-source

#before_script:
    #- sudo apt-get install php5-fpm

script:
    - phpunit --coverage-clover=coverage.clover

after_script:
    - "if [[ $TRAVIS_PHP_VERSION != 'hhvm' ]] && [[ `php-config --vernum` == 50600 ]] ; then wget https://scrutinizer-ci.com/ocular.phar ; php ocular.phar code-coverage:upload --format=php-clover coverage.clover ;fi"


Remove older builds from Travis
Remove older builds from Travis
