diff --git a/.travis.yml b/.travis.yml index f58bec0..9e4d269 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,19 +2,16 @@ language: php sudo: false php: - - 5.4 - - 5.5 - - 5.6 - - 7.0 - - hhvm + - 7.2 + - 7.3 before_script: - - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then composer require satooshi/php-coveralls; fi + - composer require satooshi/php-coveralls - composer install --dev script: - - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then vendor/bin/phpunit --coverage-clover build/logs/clover.xml; else vendor/bin/phpunit; fi - - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then ./vendor/bin/phpcs --standard=psr2 src test; fi + - vendor/bin/phpunit --coverage-clover build/logs/clover.xml + - ./vendor/bin/phpcs --standard=psr2 src test after_success: - - if [ $TRAVIS_PHP_VERSION = '7.0' ]; then php vendor/bin/coveralls; fi + - php vendor/bin/coveralls diff --git a/composer.json b/composer.json index 7d947c2..e62d3a5 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": ">=5.4", + "php": ">=7.2", "psr/log": "^1.0" }, "require-dev": {