language: php

php:
  - 7.0
  - 7.1

matrix:
  include:
    - php: 7.0
      env: dependencies=lowest

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

before_script:
  - composer install -n
  - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-stable -n; fi;

script:
  - vendor/bin/phpunit
language: php

php:
  - 7.1

matrix:
  include:
    - php: 7.1
      env: dependencies=lowest

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

before_script:
  - composer install -n
  - if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest --prefer-stable -n; fi;

script:
  - vendor/bin/phpunit
ADD Travis : Support PHP 7.1
ADD Travis : Support PHP 7.1
