language: php

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

git:
  depth: 1

branches:
  only:
    - master

matrix:
  fast_finish: true
  allow_failures:
    php: nightly

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

before_script:
  - travis_retry composer self-update
  - travis_retry composer install --prefer-dist --no-interaction

script:
  - mkdir -p build/logs
  - vendor/bin/phpcs src -v --standard=PSR2
  - vendor/bin/phpunit

after_script:
 - travis_retry php vendor/bin/php-coveralls -v

language: php

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

git:
  depth: 1

branches:
  only:
    - master

matrix:
  fast_finish: true
  allow_failures:
    php: nightly

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

before_script:
  - travis_retry composer self-update
  - travis_retry composer install --prefer-dist --no-interaction

script:
  - mkdir -p build/logs
  - vendor/bin/phpcs src -v --standard=PSR2
  - vendor/bin/phpunit

after_script:
 - travis_retry php vendor/bin/php-coveralls -v

Add PHP 7.3 to Travis
Add PHP 7.3 to Travis
