language: php

sudo: false

cache:
  directories:
    - $HOME/.composer/

# Run tests against all these PHP versions
# TODO: When it becomes possible in TravisCI, switch 7.4snapshot to plain 7.4
php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - 7.4snapshot
  - hhvm

before_script:
  - composer install --prefer-dist

script:
  - vendor/bin/phpunit --log-junit=phpunit.log

notifications:
  email: false
