language: php
php:
  - '5.6'
  - '7.0'
  - '7.1'
install: php build/composer.phar install --no-interaction
script: php build/phpunit.phar --configuration tests/phpunit.xml

after_success:
  # Submit coverage report to Coveralls servers, see .coveralls.yml
  - travis_retry php build/coveralls.phar -v  -c .coveralls.yaml
  # Submit coverage report to codecov.io
  - bash <(curl -s https://codecov.io/bash)

notifications:
  email:
    on_success: never
    on_failure: always

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

language: php
php:
  - '5.6'
  - '7.0'
  - '7.1'
  - '7.2'
install: php build/composer.phar install --no-interaction
script: php build/phpunit.phar --configuration tests/phpunit.xml

after_success:
  # Submit coverage report to Coveralls servers, see .coveralls.yml
  - travis_retry php build/coveralls.phar -v  -c .coveralls.yaml
  # Submit coverage report to codecov.io
  - bash <(curl -s https://codecov.io/bash)

notifications:
  email:
    on_success: never
    on_failure: always

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

Add php7.2 to unit tests.
Add php7.2 to unit tests.
