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
ec82f7e5
Unverified
Commit
ec82f7e5
authored
May 09, 2018
by
Sergei Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround for the inability to use a post-PHPUnit script on ContinuousPHP
parent
af81c1fd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1 deletion
+22
-1
.scrutinizer.yml
.scrutinizer.yml
+1
-1
bootstrap.php
tests/continuousphp/bootstrap.php
+20
-0
oci8.phpunit.continuousphp.xml
tests/continuousphp/oci8.phpunit.continuousphp.xml
+1
-0
No files found.
.scrutinizer.yml
View file @
ec82f7e5
...
...
@@ -21,7 +21,7 @@ before_commands:
tools
:
external_code_coverage
:
timeout
:
3600
runs
:
2
0
# 17x Travis (jobs with COVERAGE=yes) + 3x AppVeyor (jobs with coverage=yes)
runs
:
2
1
# 17x Travis (jobs with COVERAGE=yes) + 3x AppVeyor (jobs with coverage=yes) + 1x ContinuousPHP
filter
:
excluded_paths
:
...
...
tests/continuousphp/bootstrap.php
0 → 100644
View file @
ec82f7e5
<?php
declare
(
strict_types
=
1
);
(
function
()
:
void
{
$pos
=
array_search
(
'--coverage-clover'
,
$_SERVER
[
'argv'
],
true
);
if
(
$pos
===
false
)
{
return
;
}
$file
=
$_SERVER
[
'argv'
][
$pos
+
1
];
register_shutdown_function
(
function
()
use
(
$file
)
:
void
{
$cmd
=
'wget https://github.com/scrutinizer-ci/ocular/releases/download/1.5.2/ocular.phar'
.
' && php ocular.phar code-coverage:upload --format=php-clover '
.
escapeshellarg
(
$file
);
passthru
(
$cmd
);
});
})();
tests/continuousphp/oci8.phpunit.continuousphp.xml
View file @
ec82f7e5
...
...
@@ -6,6 +6,7 @@
beStrictAboutTodoAnnotatedTests=
"true"
failOnRisky=
"true"
failOnWarning=
"true"
bootstrap=
"bootstrap.php"
>
<php>
<ini
name=
"error_reporting"
value=
"-1"
/>
...
...
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