language: php

php:
    - 5.5
    - 5.6
    - 7.0
    - 7.1

env:
    - DB=MYSQL CORE_RELEASE=4

before_script:
    - git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
    - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
    - cd ~/builds/ss

script:
    - vendor/bin/phpunit --coverage-clover segment-field/coverage.clover segment-field/tests

after_success:
    - cd segment-field
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

language: php

php:
    - 5.6
    - 7.0
    - 7.1

env:
    - DB=MYSQL CORE_RELEASE=4

before_script:
    - git clone git://github.com/silverstripe/silverstripe-travis-support.git ~/travis-support
    - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
    - cd ~/builds/ss

script:
    - vendor/bin/phpunit --coverage-clover segment-field/coverage.clover segment-field/tests

after_success:
    - cd segment-field
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

Remove PHP 5.5 from Travis builds
Remove PHP 5.5 from Travis builds
