Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
sinan
mongo-php-library
Commits
99101b87
Unverified
Commit
99101b87
authored
Mar 30, 2020
by
Andreas Braun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow customizing the driver repository for travis-ci
parent
7b084d30
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
install-extension.sh
.travis/install-extension.sh
+7
-4
No files found.
.travis/install-extension.sh
View file @
99101b87
...
@@ -16,14 +16,17 @@ tpecl () {
...
@@ -16,14 +16,17 @@ tpecl () {
fi
fi
}
}
if
[
"x
${
DRIVER_BRANCH
}
"
!=
"x"
]
;
then
if
[
"x
${
DRIVER_BRANCH
}
"
!=
"x"
]
||
[
"x
${
DRIVER_REPO
}
"
!=
"x"
]
;
then
echo
"Compiling driver branch
${
DRIVER_BRANCH
}
"
CLONE_REPO
=
${
DRIVER_REPO
:-
https
://github.com/mongodb/mongo-php-driver
}
CHECKOUT_BRANCH
=
${
DRIVER_BRANCH
:-
master
}
echo
"Compiling driver branch
${
CHECKOUT_BRANCH
}
from repository
${
CLONE_REPO
}
"
mkdir
-p
/tmp/compile
mkdir
-p
/tmp/compile
git clone
https://github.com/mongodb/mongo-php-driver
/tmp/compile/mongo-php-driver
git clone
${
CLONE_REPO
}
/tmp/compile/mongo-php-driver
cd
/tmp/compile/mongo-php-driver
cd
/tmp/compile/mongo-php-driver
git checkout
${
DRIVER
_BRANCH
}
git checkout
${
CHECKOUT
_BRANCH
}
git submodule update
--init
git submodule update
--init
phpize
phpize
./configure
--enable-mongodb-developer-flags
./configure
--enable-mongodb-developer-flags
...
...
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