language: php

php:
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - nightly

matrix:
  allow_failures:
    - php: nightly

cache:
  directories:
    - $HOME/.composer

install:
  - composer install --prefer-dist

script:
  - composer validate
  - vendor/bin/phpunit --verbose || travis_terminate 1

language: php

php:
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - nightly

matrix:
  allow_failures:
    - php: nightly

cache:
  directories:
    - $HOME/.composer

install:
  - composer install --prefer-dist

script:
  - composer validate
  - vendor/bin/phpunit --verbose || travis_terminate 1

Test on PHP 7.2 on Travis
Test on PHP 7.2 on Travis
