diff options
-rw-r--r-- | .travis.yml | 1 | ||||
-rw-r--r-- | phpunit.xml.dist | 3 | ||||
-rw-r--r-- | tests/bootstrap.php | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index b44a3deedb..1eb7c56236 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,4 +43,3 @@ script: - travis/check-executable-files.sh $DB $TRAVIS_PHP_VERSION ./ - phpBB/vendor/bin/phpunit --configuration travis/phpunit-$DB-travis.xml - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.3.3' -a '$DB' = 'mysqli' -a '$TRAVIS_PULL_REQUEST' != 'false' ]; then git-tools/commit-msg-hook-range.sh origin/$TRAVIS_BRANCH..FETCH_HEAD; fi" - - kill -9 `pidof phantomjs` diff --git a/phpunit.xml.dist b/phpunit.xml.dist index a497717107..bcc63d6fd9 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -25,7 +25,8 @@ <file>./tests/lint_test.php</file> </testsuite> <testsuite name="phpBB UI Tests"> - <directory suffix="_test.php">./tests/ui</directory> + <directory suffix="_test.php" phpVersion="5.3.19" + phpVersionOperator=">=">./tests/ui</directory> </testsuite> </testsuites> diff --git a/tests/bootstrap.php b/tests/bootstrap.php index c635a3abf4..65447eb95c 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -34,7 +34,7 @@ require_once 'test_framework/phpbb_database_test_case.php'; require_once 'test_framework/phpbb_database_test_connection_manager.php'; require_once 'test_framework/phpbb_functional_test_case.php'; -if (version_compare(PHP_VERSION,'5.3.19',">=")) +if (version_compare(PHP_VERSION,'5.3.19', ">=")) { require_once 'test_framework/phpbb_ui_test_case.php'; } |