sudo: false
language: php

php:
  - 7.1
  - 7.0
  - 5.6
  - 5.5

install:
  - composer self-update
  - composer install

script:
  - ./vendor/bin/phpunit -c ./phpunit.xml --coverage-text --report-useless-tests
  - ./vendor/bin/phpcs --standard=phpcs.xml src -s
  - ./vendor/bin/phpcs --standard=phpcs.xml tests -s

matrix:
  fast_finish: true

sudo: false
language: php

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

install:
  - composer self-update
  - composer install

script:
  - ./vendor/bin/phpunit -c ./phpunit.xml --coverage-text --report-useless-tests
  - ./vendor/bin/phpcs --standard=phpcs.xml src -s
  - ./vendor/bin/phpcs --standard=phpcs.xml tests -s

matrix:
  fast_finish: true

Add PHP 7.2 and 7.3 testing to Travis.
Add PHP 7.2 and 7.3 testing to Travis.
