mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 20:19:42 +08:00
Travis build failed because of very slow MySQL queries execution. According to MySQL 5.7.23 [release notes](https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-23.html#mysqld-5-7-23-bug) the `mysql_upgrade` command MUST be run after upgrading to this release. Otherwise MySQL will flood logs with a warging that results in a performance problems.
39 lines
1.4 KiB
XML
39 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<phpunit bootstrap="./tests/bootstrap.php"
|
|
backupGlobals="true"
|
|
colors="true"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
stopOnFailure="false"
|
|
printerClass="yiiunit\ResultPrinter">
|
|
<testsuites>
|
|
<testsuite name="Yii Test Suite">
|
|
<directory>./tests</directory>
|
|
</testsuite>
|
|
</testsuites>
|
|
<filter>
|
|
<whitelist>
|
|
<directory suffix=".php">framework/</directory>
|
|
</whitelist>
|
|
<blacklist>
|
|
<file>framework/helpers/Json.php</file>
|
|
<file>framework/helpers/StringHelper.php</file>
|
|
<file>framework/helpers/VarDumper.php</file>
|
|
<file>framework/helpers/Html.php</file>
|
|
<file>framework/helpers/Inflector.php</file>
|
|
<file>framework/helpers/FileHelper.php</file>
|
|
<file>framework/helpers/ArrayHelper.php</file>
|
|
<file>framework/helpers/Console.php</file>
|
|
<file>framework/i18n/GettextFile.php</file>
|
|
<file>framework/web/ResponseFormatterInterface.php</file>
|
|
<directory suffix="Exception.php">framework/base</directory>
|
|
<directory suffix=".php">framework/db/mssql</directory>
|
|
<directory suffix=".php">framework/bootstrap</directory>
|
|
</blacklist>
|
|
</filter>
|
|
<listeners>
|
|
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
|
|
</listeners>
|
|
</phpunit>
|