language: php dist: trusty php: - '5.4' - '5.5' - '5.6' - '7.0' - '7.1' - '7.2' - '7.4' before_install: # If PHP >= 7.0, force use of PHPUnit 5.7 - if php -r "exit( (int)! version_compare( '$TRAVIS_PHP_VERSION', '7.0', '>=' ) );"; then mkdir -p ~/bin && wget -O ~/bin/phpunit https://phar.phpunit.de/phpunit-5.7.phar && chmod +x ~/bin/phpunit; fi script: phpunit tests notifications: irc: "irc.freenode.org#ltb-project"