forked from mongodb/laravel-mongodb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit 2e5d6b9. # Conflicts: # src/Jenssegers/Mongodb/Eloquent/Model.php
- Loading branch information
1 parent
7fabc8c
commit d6116eb
Showing
68 changed files
with
954 additions
and
1,378 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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 |
---|---|---|
|
@@ -7,4 +7,3 @@ composer.lock | |
*.sublime-workspace | ||
*.project | ||
.idea/ | ||
.phpunit.result.cache |
This file contains 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,27 +1,20 @@ | ||
language: minimal | ||
|
||
matrix: | ||
include: | ||
- name: "7.1" | ||
env: PHP_VERSION=7.1 | ||
- name: "7.2" | ||
env: PHP_VERSION=7.2 | ||
- name: "7.3" | ||
env: PHP_VERSION=7.3 | ||
sudo: required | ||
dist: trusty | ||
language: php | ||
php: | ||
- "7.2" | ||
- "7.1" | ||
|
||
services: | ||
- docker | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
install: | ||
- docker version | ||
- sudo pip install docker-compose | ||
- docker-compose version | ||
- docker-compose build --build-arg PHP_VERSION=${PHP_VERSION} | ||
- docker-compose run --rm tests composer install --no-interaction | ||
- sed -i -e "s/php:cli/php:${TRAVIS_PHP_VERSION}-cli/g" Dockerfile | ||
- cat Dockerfile | ||
- docker-compose build | ||
|
||
script: | ||
- docker-compose run --rm tests ./vendor/bin/phpunit --coverage-clover ./clover.xml | ||
- docker-compose up --exit-code-from php |
This file contains 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,14 @@ | ||
FROM php:cli | ||
|
||
RUN pecl install xdebug | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y autoconf pkg-config libssl-dev git && \ | ||
pecl install mongodb git zlib1g-dev && docker-php-ext-enable mongodb && \ | ||
docker-php-ext-install -j$(nproc) pdo pdo_mysql zip && docker-php-ext-enable xdebug | ||
|
||
RUN curl -sS https://getcomposer.org/installer | php \ | ||
&& mv composer.phar /usr/local/bin/ \ | ||
&& ln -s /usr/local/bin/composer.phar /usr/local/bin/composer | ||
|
||
ENV PATH="~/.composer/vendor/bin:./vendor/bin:${PATH}" |
This file contains 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 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,59 +1,51 @@ | ||
{ | ||
"name": "jenssegers/mongodb", | ||
"description": "A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)", | ||
"keywords": [ | ||
"laravel", | ||
"eloquent", | ||
"mongodb", | ||
"mongo", | ||
"database", | ||
"model", | ||
"moloquent" | ||
], | ||
"homepage": "https://github.com/jenssegers/laravel-mongodb", | ||
"authors": [ | ||
{ | ||
"name": "Jens Segers", | ||
"homepage": "https://jenssegers.com" | ||
} | ||
], | ||
"license": "MIT", | ||
"require": { | ||
"illuminate/support": "^5.8|^6.0", | ||
"illuminate/container": "^5.8|^6.0", | ||
"illuminate/database": "^5.8|^6.0", | ||
"illuminate/events": "^5.8|^6.0", | ||
"mongodb/mongodb": "^1.4" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^6.0|^7.0|^8.0", | ||
"orchestra/testbench": "^3.1|^4.0", | ||
"mockery/mockery": "^1.0", | ||
"satooshi/php-coveralls": "^2.0", | ||
"doctrine/dbal": "^2.5" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
"Jenssegers\\Mongodb": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"classmap": [ | ||
"tests/TestCase.php", | ||
"tests/models", | ||
"tests/seeds" | ||
] | ||
}, | ||
"suggest": { | ||
"jenssegers/mongodb-session": "Add MongoDB session support to Laravel-MongoDB", | ||
"jenssegers/mongodb-sentry": "Add Sentry support to Laravel-MongoDB" | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Jenssegers\\Mongodb\\MongodbServiceProvider", | ||
"Jenssegers\\Mongodb\\MongodbQueueServiceProvider" | ||
] | ||
} | ||
} | ||
} | ||
{ | ||
"name": "jenssegers/mongodb", | ||
"description": "A MongoDB based Eloquent model and Query builder for Laravel (Moloquent)", | ||
"keywords": ["laravel","eloquent","mongodb","mongo","database","model","moloquent"], | ||
"homepage": "https://github.com/jenssegers/laravel-mongodb", | ||
"authors": [ | ||
{ | ||
"name": "Jens Segers", | ||
"homepage": "https://jenssegers.com" | ||
} | ||
], | ||
"license" : "MIT", | ||
"require": { | ||
"illuminate/support": "^5.6", | ||
"illuminate/container": "^5.6", | ||
"illuminate/database": "^5.6", | ||
"illuminate/events": "^5.6", | ||
"mongodb/mongodb": "^1.0.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "^6.0|^7.0", | ||
"orchestra/testbench": "^3.1", | ||
"mockery/mockery": "^1.0", | ||
"satooshi/php-coveralls": "^2.0", | ||
"doctrine/dbal": "^2.5" | ||
}, | ||
"autoload": { | ||
"psr-0": { | ||
"Jenssegers\\Mongodb": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"classmap": [ | ||
"tests/TestCase.php", | ||
"tests/models", | ||
"tests/seeds" | ||
] | ||
}, | ||
"suggest": { | ||
"jenssegers/mongodb-session": "Add MongoDB session support to Laravel-MongoDB", | ||
"jenssegers/mongodb-sentry": "Add Sentry support to Laravel-MongoDB" | ||
}, | ||
"extra": { | ||
"laravel": { | ||
"providers": [ | ||
"Jenssegers\\Mongodb\\MongodbServiceProvider", | ||
"Jenssegers\\Mongodb\\MongodbQueueServiceProvider" | ||
] | ||
} | ||
} | ||
} |
This file contains 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 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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="WEB_MODULE" version="4"> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | ||
</content> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
</component> | ||
</module> |
This file contains 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.