Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Nextcloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Nextcloud
Commits
3c65b898
Commit
3c65b898
authored
9 years ago
by
Thomas Müller
Browse files
Options
Downloads
Patches
Plain Diff
We require minimum PHPUnit 4.4
parent
7b0f83b6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
autotest-external.sh
+2
-2
2 additions, 2 deletions
autotest-external.sh
autotest.sh
+2
-2
2 additions, 2 deletions
autotest.sh
with
4 additions
and
4 deletions
autotest-external.sh
+
2
−
2
View file @
3c65b898
...
...
@@ -39,8 +39,8 @@ PHPUNIT_VERSION=$("$PHPUNIT" --version | cut -d" " -f2)
PHPUNIT_MAJOR_VERSION
=
$(
echo
$PHPUNIT_VERSION
|
cut
-d
"."
-f1
)
PHPUNIT_MINOR_VERSION
=
$(
echo
$PHPUNIT_VERSION
|
cut
-d
"."
-f2
)
if
!
[
$PHPUNIT_MAJOR_VERSION
-gt
3
-o
\(
$PHPUNIT_MAJOR_VERSION
-eq
3
-a
$PHPUNIT_MINOR_VERSION
-ge
7
\)
]
;
then
echo
"phpunit version >=
3.7
required. Version found:
$PHPUNIT_VERSION
"
>
&2
if
!
[
$PHPUNIT_MAJOR_VERSION
-gt
4
-o
\(
$PHPUNIT_MAJOR_VERSION
-eq
4
-a
$PHPUNIT_MINOR_VERSION
-ge
4
\)
]
;
then
echo
"phpunit version >=
4.4
required. Version found:
$PHPUNIT_VERSION
"
>
&2
exit
4
fi
...
...
This diff is collapsed.
Click to expand it.
autotest.sh
+
2
−
2
View file @
3c65b898
...
...
@@ -69,8 +69,8 @@ PHPUNIT_VERSION=$($PHPUNIT --version | cut -d" " -f2)
PHPUNIT_MAJOR_VERSION
=
$(
echo
"
$PHPUNIT_VERSION
"
|
cut
-d
"."
-f1
)
PHPUNIT_MINOR_VERSION
=
$(
echo
"
$PHPUNIT_VERSION
"
|
cut
-d
"."
-f2
)
if
!
[
"
$PHPUNIT_MAJOR_VERSION
"
-gt
3
-o
\(
"
$PHPUNIT_MAJOR_VERSION
"
-eq
3
-a
"
$PHPUNIT_MINOR_VERSION
"
-ge
7
\)
]
;
then
echo
"phpunit version >=
3.7
required. Version found:
$PHPUNIT_VERSION
"
>
&2
if
!
[
"
$PHPUNIT_MAJOR_VERSION
"
-gt
4
-o
\(
"
$PHPUNIT_MAJOR_VERSION
"
-eq
4
-a
"
$PHPUNIT_MINOR_VERSION
"
-ge
4
\)
]
;
then
echo
"phpunit version >=
4.4
required. Version found:
$PHPUNIT_VERSION
"
>
&2
exit
4
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment