language: php
sudo: false

php:
    - nightly
    - '7.1'
    - '7.0'
    - '5.6'
    - '5.5'
    - '5.4'
    - '5.3'
    - hhvm
    - hhvm-nightly

matrix:
    fast_finish: true
    allow_failures:
        - php: hhvm
        - php: hhvm-nightly

cache:
  directories:
    - $HOME/.composer/cache

before_install:
    - composer self-update

before_script:
    - travis_retry composer install --no-interaction

script:
    - vendor/bin/phpunit --coverage-text

language: php
sudo: false

php:
    - nightly
    - '7.1'
    - '7.0'
    - '5.6'
    - '5.5'
    - '5.4'
    - '5.3'
    - hhvm
    - hhvm-nightly

matrix:
    fast_finish: true
    allow_failures:
        - php: hhvm
        - php: hhvm-nightly

cache:
  directories:
    - $HOME/.composer/cache

before_install:
    - composer self-update

before_script:
    - travis_retry composer install --no-interaction --prefer-dist

script:
    - vendor/bin/phpunit --coverage-text

Add prefer-dist to composer command
Add prefer-dist to composer command
