-
Notifications
You must be signed in to change notification settings - Fork 208
PHPC-888: Support additional TLS libraries for bundled libmongoc #736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
b1a6690
Do not ignore nested "build" directories
jmikola 8af9175
Fix conditional for whether extension is enabled
jmikola 274a444
Use single equal sign for test comparisons
jmikola d679bfe
PHPC-888: Support additional TLS libraries for bundled libmongoc
jmikola 16fe17c
Remove old API key for Coveralls
jmikola 0e686fd
Remove old Mongo Orchestration artifacts
jmikola 28c717b
Do not ignore files within .travis.scripts/
jmikola 83f3330
LibreSSL cannot extract username subject from X509 certs
jmikola 61d4ffb
Coveralls API token is not needed for public projects
jmikola df9c278
Make core and diff debugging more portable
jmikola d4e998f
Add macOS environments to build matrix
jmikola 071f90b
Upgrading run-tests.php is no longer necessary
jmikola 40cbec3
Remove macOS environments from build matrix
jmikola fe7ee68
PHPC-1003: Use container environment for Travis builds
jmikola 0f8598f
Use AC_HELP_STRING for PHP_ARG_ENABLE in config.m4
derickr c2988bb
PHPC-888: Make sure you can only select "darwin" on macOS
derickr 0002e2d
Move crypto system profile flags below OpenSSL detection
derickr 6f9bd6e
Document "no" defaults for PHP_ARG_ENABLE flags in config.m4
jmikola 82516b3
Use AC_HELP_STRING for PHP_ARG_WITH in config.m4
jmikola File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,26 @@ | ||
#!/bin/sh | ||
|
||
if [ "${TRAVIS_OS_NAME}" = "linux" ]; then | ||
# https://github.com/eddyxu/cpp-coveralls#linux | ||
pip install --user cpp-coveralls | ||
fi | ||
|
||
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then | ||
brew update | ||
brew upgrade | ||
|
||
brew tap homebrew/homebrew-php | ||
brew install "${PHP_VERSION}" | ||
|
||
# http://brewformulas.org/Lcov | ||
brew install lcov | ||
|
||
# https://github.com/eddyxu/cpp-coveralls#os-x | ||
brew install pyenv | ||
eval "$(pyenv init -)" | ||
pyenv install 2.7.6 | ||
pyenv global 2.7.6 | ||
pyenv rehash | ||
pip install cpp-coveralls | ||
pyenv rehash | ||
fi |
This file contains hidden or 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,18 @@ | ||
#!/bin/sh | ||
|
||
CONFIGURE_OPTS="--enable-developer-flags --enable-coverage" | ||
|
||
if [ -n "${SSL_VERSION}" ]; then | ||
CONFIGURE_OPTS="${CONFIGURE_OPTS} --with-mongodb-ssl=${SSL_VERSION}" | ||
fi | ||
|
||
phpize | ||
./configure ${CONFIGURE_OPTS} | ||
make all -j4 | ||
make install | ||
|
||
# Add the extension to php.ini | ||
echo "extension=mongodb.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"` | ||
|
||
# Predefine the test server | ||
echo '{"STANDALONE": "mongodb:\/\/127.0.0.1:27017"}' > /tmp/PHONGO-SERVERS.json |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 |
---|---|---|
@@ -1,5 +1,10 @@ | ||
#!/bin/sh | ||
|
||
PHP=/home/travis/.phpenv/versions/`php -r 'echo PHP_VERSION;'`/bin/php | ||
echo "backtrace full" | gdb $PHP $1 | ||
if [ "${TRAVIS_OS_NAME}" != "osx" ]; then | ||
# https://www.ics.uci.edu/~pattis/common/handouts/macmingweclipse/allexperimental/mac-gdb-install.html | ||
echo "Cannot debug core files on macOS: ${1}" | ||
exit 1 | ||
fi | ||
|
||
PHP_BINARY=`which php` | ||
gdb -batch -ex "bt full" -ex "quit" "${PHP_BINARY}" "${1}" |
This file contains hidden or 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,15 @@ | ||
#!/bin/sh | ||
|
||
EXP=`echo $1 | sed 's/.diff$/.exp/'` | ||
OUT=`echo $1 | sed 's/.diff$/.out/'` | ||
SEP="--------------------------------------------------------------------------------" | ||
|
||
echo $EXP | ||
echo $SEP | ||
cat $EXP; echo | ||
echo $SEP; echo | ||
|
||
echo $OUT | ||
echo $SEP | ||
cat $OUT; echo | ||
echo $SEP; echo |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't see where mongo orchestration is installed through in the new code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See ef72444d5239f43792a942cd9938b89bb4fbde1c. These were merely artifacts from when Hannes was using Mongo Orchestration locally to spin up test environments (PHPC-128). I found nothing in our current
.travis.yml
files that actually launched Mongo Orchestration, so this all appears to be dead code.