diff options
-rw-r--r-- | .travis.yml | 10 | ||||
-rw-r--r-- | composer.json | 4 | ||||
-rw-r--r-- | phpunit.xml.dist | 3 |
3 files changed, 14 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 70bc136..70ba274 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,16 @@ language: php dist: trusty php: + - 5.4 + - 5.5 + - 5.6 + - 7.0 - 7.1 - 7.2 - 7.3 + - hhvm-3.12 + - hhvm-3.18 + - hhvm-3.24 - nightly matrix: @@ -17,10 +24,13 @@ matrix: env: DOCS=yes - php: 7.1 env: REQUIRE="phpmyadmin/motranslator:^3.0" + - dist: precise + php: 5.3 sudo: false install: + - if [ $(php -r "echo PHP_MAJOR_VERSION;") -lt 7 ] ; then sed -i '/sami/D' composer.json ; fi - if [ -n "$REQUIRE" ] ; then composer require "$REQUIRE" ; fi - composer install diff --git a/composer.json b/composer.json index c525411..b824c85 100644 --- a/composer.json +++ b/composer.json @@ -16,13 +16,13 @@ "source": "https://github.com/phpmyadmin/sql-parser" }, "require": { - "php": "^7.1", + "php": ">=5.3.0", "symfony/polyfill-mbstring": "^1.3" }, "require-dev": { "sami/sami": "^4.0", "phpunit/php-code-coverage": "*", - "phpunit/phpunit": "^7.4", + "phpunit/phpunit": "~4.8 || ~5.7 || ~6.5", "phpmyadmin/coding-standard": "^1.0" }, "conflict": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 36faf50..d96b96d 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -9,7 +9,8 @@ convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" - stopOnFailure="false"> + stopOnFailure="false" + syntaxCheck="false"> <logging> <log type="coverage-clover" target="coverage.xml" /> </logging> |