language: php

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

sudo: false

matrix:
    include:
        - php: 5.5
          env:
            - COMPOSER_FLAGS='--prefer-lowest'
        - php: 5.6
        - php: 7.0
        - php: 7.1

before_install:
    - phpenv config-rm xdebug.ini || true
    - composer update $COMPOSER_FLAGS

script:
    - ./bin/phpunit -v
    - ./bin/phpspec run -f pretty

notifications:
  irc: "irc.freenode.org#fsi-open"

language: php

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

sudo: false

matrix:
    include:
        - php: 5.5
          env:
            - COMPOSER_FLAGS='--prefer-lowest'
        - php: 5.6
        - php: 7.0
        - php: 7.1

before_install:
    - phpenv config-rm xdebug.ini
    - travis_wait 15 composer update $COMPOSER_FLAGS

script:
    - ./bin/phpunit -v
    - ./bin/phpspec run -f pretty

Allow longer execution of composer update in Travis builds
Allow longer execution of composer update in Travis builds