language: php

php:
  - 7.0
  - 7.1

before_script:
  - composer self-update
  - composer install --prefer-source --no-interaction --dev

script: phpunit

language: php

php:
  - 7.0
  - 7.1

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

env:
  - LARAVEL_VERSION=5.5.* TESTBENCH_VERSION=3.5.*
  - LARAVEL_VERSION=5.6.* TESTBENCH_VERSION=3.6.*

before_script:
  - composer self-update
  - composer require "laravel/framework:${LARAVEL_VERSION}" "orchestra/testbench:${TESTBENCH_VERSION}" --no-update
  - if [ "$PHPUNIT_VERSION" != "" ]; then composer require "phpunit/phpunit:${PHPUNIT_VERSION}" --no-update; fi;
  - composer update
  - mkdir -p build/logs

script: phpunit

Update Travis CI to test against Laravel 5.6
Update Travis CI to test against Laravel 5.6
