-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switching Travis CI builds to Ubuntu Xenial Xerus
- Loading branch information
Showing
6 changed files
with
120 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
sudo docker run \ | ||
-d \ | ||
-e MYSQL_ALLOW_EMPTY_PASSWORD=yes \ | ||
-e MYSQL_DATABASE=doctrine_tests \ | ||
-p 33306:3306 \ | ||
--name mariadb \ | ||
mariadb:${MARIADB_VERSION} | ||
|
||
sudo docker exec -i mariadb bash <<< 'until echo \\q | mysql doctrine_tests > /dev/null 2>&1 ; do sleep 1; done' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd" | ||
colors="true" | ||
beStrictAboutOutputDuringTests="true" | ||
beStrictAboutTodoAnnotatedTests="true" | ||
failOnRisky="true" | ||
failOnWarning="true" | ||
> | ||
<php> | ||
<ini name="error_reporting" value="-1" /> | ||
|
||
<var name="db_type" value="pdo_mysql"/> | ||
<var name="db_host" value="127.0.0.1" /> | ||
<var name="db_username" value="root" /> | ||
<var name="db_password" value="" /> | ||
<var name="db_name" value="doctrine_tests" /> | ||
<var name="db_port" value="33306"/> | ||
|
||
<var name="tmpdb_type" value="pdo_mysql"/> | ||
<var name="tmpdb_host" value="127.0.0.1" /> | ||
<var name="tmpdb_username" value="root" /> | ||
<var name="tmpdb_password" value="" /> | ||
<var name="tmpdb_port" value="33306"/> | ||
</php> | ||
|
||
<testsuites> | ||
<testsuite name="Doctrine DBAL Test Suite"> | ||
<directory>../Doctrine/Tests/DBAL</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">../../lib/Doctrine</directory> | ||
</whitelist> | ||
</filter> | ||
|
||
<groups> | ||
<exclude> | ||
<group>performance</group> | ||
<group>locking_functional</group> | ||
</exclude> | ||
</groups> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd" | ||
colors="true" | ||
beStrictAboutOutputDuringTests="true" | ||
beStrictAboutTodoAnnotatedTests="true" | ||
failOnRisky="true" | ||
failOnWarning="true" | ||
> | ||
<php> | ||
<ini name="error_reporting" value="-1" /> | ||
|
||
<var name="db_type" value="mysqli"/> | ||
<var name="db_host" value="127.0.0.1" /> | ||
<var name="db_username" value="root" /> | ||
<var name="db_password" value="" /> | ||
<var name="db_name" value="doctrine_tests" /> | ||
<var name="db_port" value="33306"/> | ||
|
||
<var name="tmpdb_type" value="mysqli"/> | ||
<var name="tmpdb_host" value="127.0.0.1" /> | ||
<var name="tmpdb_username" value="root" /> | ||
<var name="tmpdb_password" value="" /> | ||
<var name="tmpdb_port" value="33306"/> | ||
</php> | ||
|
||
<testsuites> | ||
<testsuite name="Doctrine DBAL Test Suite"> | ||
<directory>../Doctrine/Tests/DBAL</directory> | ||
</testsuite> | ||
</testsuites> | ||
|
||
<filter> | ||
<whitelist> | ||
<directory suffix=".php">../../lib/Doctrine</directory> | ||
</whitelist> | ||
</filter> | ||
|
||
<groups> | ||
<exclude> | ||
<group>performance</group> | ||
<group>locking_functional</group> | ||
</exclude> | ||
</groups> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters