language: php

php:
  - 5.6
  - 7.0
  - 7.1

env:
  - LARAVEL_VERSION=5.1.*
  - LARAVEL_VERSION=5.2.*
  - LARAVEL_VERSION=5.3.*
  - LARAVEL_VERSION=5.4.*

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

before_install:
  - phpenv config-rm xdebug.ini
  - travis_retry composer require --no-update "phpspec/phpspec:~3.0"
  - travis_retry composer require --no-update "laravel/framework:${LARAVEL_VERSION}"

install:
  - travis_retry composer update --prefer-stable --no-interaction --no-suggest

script:
  - ./bin/phpspec run

language: php

php:
  - 7.0
  - 7.1

env:
  - LARAVEL_VERSION=5.1.*
  - LARAVEL_VERSION=5.2.*
  - LARAVEL_VERSION=5.3.*
  - LARAVEL_VERSION=5.4.*

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

before_install:
  - phpenv config-rm xdebug.ini
  - travis_retry composer require --no-update "laravel/framework:${LARAVEL_VERSION}"

install:
  - travis_retry composer update --prefer-stable --no-interaction --no-suggest

script:
  - ./bin/phpspec run

Stop testing in PHP 5
Stop testing in PHP 5
