language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - nightly
  - hhvm

install: travis_retry composer install --no-interaction --prefer-source

script:
  - vendor/bin/phpunit
#  - vendor/bin/phpcs --standard=phpcs.xml src

matrix:
  allow_failures:
    - php: nightly
    - php: hhvm
    - php: 7.3
  fast_finish: true
