Commit 518476be authored by Jeremy Mikola's avatar Jeremy Mikola

Merge pull request #184

parents 9e443408 7ef461d8
...@@ -42,6 +42,6 @@ before_script: ...@@ -42,6 +42,6 @@ before_script:
- ulimit -c unlimited -S - ulimit -c unlimited -S
script: script:
- phpunit --debug || RESULT=$? - ./vendor/bin/phpunit --debug || RESULT=$?
- for i in $(find ./ -maxdepth 1 -name 'core*' -print); do gdb `php -r 'echo PHP_BINARY;'` core* -ex "thread apply all bt" -ex "set pagination 0" -batch; done; - for i in $(find ./ -maxdepth 1 -name 'core*' -print); do gdb `php -r 'echo PHP_BINARY;'` core* -ex "thread apply all bt" -ex "set pagination 0" -batch; done;
- if [[ ${RESULT} != 0 ]]; then exit $RESULT ; fi; - if [[ ${RESULT} != 0 ]]; then exit $RESULT ; fi;
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
"php": ">=5.4", "php": ">=5.4",
"ext-mongodb": "^1.1.0" "ext-mongodb": "^1.1.0"
}, },
"require-dev": {
"phpunit/phpunit": "^4.8"
},
"autoload": { "autoload": {
"psr-4": { "MongoDB\\": "src/" }, "psr-4": { "MongoDB\\": "src/" },
"files": [ "src/functions.php" ] "files": [ "src/functions.php" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment