forked from mongodb/mongo-php-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Config tweaks #2
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
Closed
Closed
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
f692354
PHPC-888: Support additional TLS libraries for bundled libmongoc
jmikola 69ff18c
Remove old API key for Coveralls
jmikola fc7567d
Remove old Mongo Orchestration artifacts
jmikola 6575349
Do not ignore files within .travis.scripts/
jmikola 48d4198
LibreSSL cannot extract username subject from X509 certs
jmikola ab957b7
Coveralls API token is not needed for public projects
jmikola 6da5f63
Make core and diff debugging more portable
jmikola acddcdd
Add macOS environments to build matrix
jmikola 31a6221
Upgrading run-tests.php is no longer necessary
jmikola c374d26
Remove macOS environments from build matrix
jmikola c504d8f
PHPC-1003: Use container environment for Travis builds
jmikola b1fd0ae
Tweak ./configure --help layout a little
derickr d47b9ce
Make sure you can only select "darwin" on macOS.
derickr ec58469
Move crypto system profile flags below OpenSSL detection for more chr…
derickr 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,7 @@ php.ini | |
!.github/ | ||
!tests/utils/*.php | ||
!.travis.yml | ||
!.travis.scripts/* | ||
!.travis.scripts/ | ||
|
||
|
||
!scripts | ||
|
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
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,54 @@ | ||
AC_CANONICAL_HOST | ||
|
||
os_win32=no | ||
os_netbsd=no | ||
os_freebsd=no | ||
os_openbsd=no | ||
os_hpux=no | ||
os_linux=no | ||
os_solaris=no | ||
os_darwin=no | ||
os_gnu=no | ||
|
||
case "$host" in | ||
*-mingw*|*-*-cygwin*) | ||
os_win32=yes | ||
TARGET_OS=windows | ||
;; | ||
*-*-*netbsd*) | ||
os_netbsd=yes | ||
ARGET_OS=unix | ||
;; | ||
*-*-*freebsd*) | ||
os_freebsd=yes | ||
TARGET_OS=unix | ||
;; | ||
*-*-*openbsd*) | ||
os_openbsd=yes | ||
TARGET_OS=unix | ||
;; | ||
*-*-hpux*) | ||
os_hpux=yes | ||
TARGET_OS=unix | ||
;; | ||
*-*-linux*) | ||
os_linux=yes | ||
os_gnu=yes | ||
TARGET_OS=unix | ||
;; | ||
*-*-solaris*) | ||
os_solaris=yes | ||
TARGET_OS=unix | ||
;; | ||
*-*-darwin*) | ||
os_darwin=yes | ||
TARGET_OS=unix | ||
;; | ||
gnu*|k*bsd*-gnu*) | ||
os_gnu=yes | ||
TARGET_OS=unix | ||
;; | ||
*) | ||
AC_MSG_WARN([*** Please add $host to configure.ac checks!]) | ||
;; | ||
esac |
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.
Missing
AC_HELP_STRING
for these andmongodb-sasl
below. I'll take care of that myself.