Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
b3b0d311
Unverified
Commit
b3b0d311
authored
Nov 06, 2018
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added PDO_OCI configuration for ContinuousPHP
parent
0b0015e6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
62 additions
and
2 deletions
+62
-2
.gitignore
.gitignore
+1
-1
.scrutinizer.yml
.scrutinizer.yml
+1
-1
bootstrap.php
tests/continuousphp/bootstrap.php
+11
-0
install-pdo-oci.sh
tests/continuousphp/install-pdo-oci.sh
+5
-0
pdo-oci.phpunit.xml
tests/continuousphp/pdo-oci.phpunit.xml
+44
-0
No files found.
.gitignore
View file @
b3b0d311
...
@@ -4,7 +4,7 @@ reports/
...
@@ -4,7 +4,7 @@ reports/
dist/
dist/
download/
download/
vendor/
vendor/
*.phpunit.xml
/
*.phpunit.xml
/phpunit.xml
/phpunit.xml
/.phpcs-cache
/.phpcs-cache
/phpstan.neon
/phpstan.neon
.scrutinizer.yml
View file @
b3b0d311
...
@@ -21,7 +21,7 @@ before_commands:
...
@@ -21,7 +21,7 @@ before_commands:
tools
:
tools
:
external_code_coverage
:
external_code_coverage
:
timeout
:
3600
timeout
:
3600
runs
:
2
7
# 23x Travis (jobs with COVERAGE=yes) + 3x AppVeyor (jobs with coverage=yes) + 1
x ContinuousPHP
runs
:
2
8
# 23x Travis (jobs with COVERAGE=yes) + 3x AppVeyor (jobs with coverage=yes) + 2
x ContinuousPHP
filter
:
filter
:
excluded_paths
:
excluded_paths
:
...
...
tests/continuousphp/bootstrap.php
View file @
b3b0d311
...
@@ -2,7 +2,18 @@
...
@@ -2,7 +2,18 @@
declare
(
strict_types
=
1
);
declare
(
strict_types
=
1
);
use
Doctrine\DBAL\DriverManager
;
(
static
function
()
:
void
{
(
static
function
()
:
void
{
// workaround for https://bugs.php.net/bug.php?id=77120
DriverManager
::
getConnection
([
'driver'
=>
'oci8'
,
'host'
=>
'oracle-xe-11'
,
'user'
=>
'ORACLE'
,
'password'
=>
'ORACLE'
,
'dbname'
=>
'XE'
,
])
->
query
(
'ALTER USER ORACLE IDENTIFIED BY ORACLE'
);
$pos
=
array_search
(
'--coverage-clover'
,
$_SERVER
[
'argv'
],
true
);
$pos
=
array_search
(
'--coverage-clover'
,
$_SERVER
[
'argv'
],
true
);
if
(
$pos
===
false
)
{
if
(
$pos
===
false
)
{
...
...
tests/continuousphp/install-pdo-oci.sh
0 → 100755
View file @
b3b0d311
#!/bin/bash
set
-euo
pipefail
phpbrew ext
install
pdo_oci
--
--with-pdo-oci
=
instantclient,/usr/local/instantclient
tests/continuousphp/pdo-oci.phpunit.xml
0 → 100644
View file @
b3b0d311
<?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"
bootstrap=
"bootstrap.php"
>
<php>
<var
name=
"db_type"
value=
"pdo_oci"
/>
<var
name=
"db_host"
value=
"oracle-xe-11"
/>
<var
name=
"db_username"
value=
"C##doctrine"
/>
<var
name=
"db_password"
value=
"ORACLE"
/>
<var
name=
"db_name"
value=
"XE"
/>
<var
name=
"db_port"
value=
"1521"
/>
<var
name=
"db_event_subscribers"
value=
"Doctrine\DBAL\Event\Listeners\OracleSessionInit"
/>
<var
name=
"tmpdb_type"
value=
"pdo_oci"
/>
<var
name=
"tmpdb_host"
value=
"oracle-xe-11"
/>
<var
name=
"tmpdb_username"
value=
"ORACLE"
/>
<var
name=
"tmpdb_password"
value=
"ORACLE"
/>
<var
name=
"tmpdb_name"
value=
"XE"
/>
<var
name=
"tmpdb_port"
value=
"1521"
/>
</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>
<listeners>
<listener
class=
"Symfony\Bridge\PhpUnit\SymfonyTestsListener"
/>
</listeners>
</phpunit>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment