Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mevdschee committed Jul 27, 2019
1 parent 13b20f7 commit 2a76803
Show file tree
Hide file tree
Showing 7 changed files with 8,470 additions and 6,330 deletions.
12 changes: 6 additions & 6 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[
{
"name": "mevdschee/php-crud-api",
"version": "v2.3.14",
"version_normalized": "2.3.14.0",
"version": "v2.3.15",
"version_normalized": "2.3.15.0",
"source": {
"type": "git",
"url": "https://github.com/mevdschee/php-crud-api.git",
"reference": "adb97818226c8a2dbe6666d3ef3224540b5093f6"
"reference": "68ee0897bb3d694058e77ea3065f058713c1316e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/mevdschee/php-crud-api/zipball/adb97818226c8a2dbe6666d3ef3224540b5093f6",
"reference": "adb97818226c8a2dbe6666d3ef3224540b5093f6",
"url": "https://api.github.com/repos/mevdschee/php-crud-api/zipball/68ee0897bb3d694058e77ea3065f058713c1316e",
"reference": "68ee0897bb3d694058e77ea3065f058713c1316e",
"shasum": ""
},
"require": {
Expand All @@ -31,7 +31,7 @@
"ext-memcached": "*",
"ext-redis": "*"
},
"time": "2019-07-19T13:12:18+00:00",
"time": "2019-07-23T12:13:57+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down
41 changes: 27 additions & 14 deletions vendor/mevdschee/php-crud-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,7 @@ NB: Any non-error response will have status: 200 OK

I am testing mainly on Ubuntu and I have the following test setups:

- (Docker) Debian 10 with PHP 7.3, MariaDB 10.3, PostgreSQL 11.4 (PostGIS 2.5)
- (Docker) Debian 9 with PHP 7.0, MariaDB 10.1, PostgreSQL 9.6 (PostGIS 2.3)
- (Docker) Ubuntu 16.04 with PHP 7.0, MariaDB 10.0, PostgreSQL 9.5 (PostGIS 2.2) and SQL Server 2017
- (Docker) Ubuntu 18.04 with PHP 7.2, MySQL 5.7, PostgreSQL 10.4 (PostGIS 2.4)
Expand Down Expand Up @@ -1058,6 +1059,17 @@ Install docker using the following commands and then logout and login for the ch

To run the docker tests run "build_all.sh" and "run_all.sh" from the docker directory. The output should be:

================================================
Debian 10 (PHP 7.3)
================================================
[1/4] Starting MariaDB 10.3 ..... done
[2/4] Starting PostgreSQL 11.4 .. done
[3/4] Starting SQLServer 2017 ... skipped
[4/4] Cloning PHP-CRUD-API v2 ... skipped
------------------------------------------------
mysql: 100 tests ran in 3623 ms, 0 failed
pgsql: 100 tests ran in 1310 ms, 0 failed
sqlsrv: skipped, driver not loaded
================================================
Debian 9 (PHP 7.0)
================================================
Expand All @@ -1066,8 +1078,8 @@ To run the docker tests run "build_all.sh" and "run_all.sh" from the docker dire
[3/4] Starting SQLServer 2017 ... skipped
[4/4] Cloning PHP-CRUD-API v2 ... skipped
------------------------------------------------
mysql: 95 tests ran in 2651 ms, 0 failed
pgsql: 95 tests ran in 573 ms, 0 failed
mysql: 100 tests ran in 4844 ms, 0 failed
pgsql: 100 tests ran in 1394 ms, 0 failed
sqlsrv: skipped, driver not loaded
================================================
Ubuntu 16.04 (PHP 7.0)
Expand All @@ -1077,9 +1089,9 @@ To run the docker tests run "build_all.sh" and "run_all.sh" from the docker dire
[3/4] Starting SQLServer 2017 ... done
[4/4] Cloning PHP-CRUD-API v2 ... skipped
------------------------------------------------
mysql: 95 tests ran in 2670 ms, 0 failed
pgsql: 95 tests ran in 550 ms, 0 failed
sqlsrv: 95 tests ran in 6624 ms, 0 failed
mysql: 100 tests ran in 4932 ms, 0 failed
pgsql: 100 tests ran in 1394 ms, 0 failed
sqlsrv: 100 tests ran in 50977 ms, 0 failed
================================================
Ubuntu 18.04 (PHP 7.2)
================================================
Expand All @@ -1088,17 +1100,18 @@ To run the docker tests run "build_all.sh" and "run_all.sh" from the docker dire
[3/4] Starting SQLServer 2017 ... skipped
[4/4] Cloning PHP-CRUD-API v2 ... skipped
------------------------------------------------
mysql: 95 tests ran in 3186 ms, 0 failed
pgsql: 95 tests ran in 556 ms, 0 failed
mysql: 100 tests ran in 4327 ms, 0 failed
pgsql: 100 tests ran in 1396 ms, 0 failed
sqlsrv: skipped, driver not loaded

The above test run (including starting up the databases) takes less than one minute on my machine.
The above test run (including starting up the databases) takes less than 5 minutes on my slow laptop.

$ ./run.sh
1) debian9
2) ubuntu16
3) ubuntu18
> 3
1) debian10
2) debian9
3) ubuntu16
4) ubuntu18
> 4
================================================
Ubuntu 18.04 (PHP 7.2)
================================================
Expand All @@ -1107,8 +1120,8 @@ The above test run (including starting up the databases) takes less than one min
[3/4] Starting SQLServer 2017 ... skipped
[4/4] Cloning PHP-CRUD-API v2 ... skipped
------------------------------------------------
mysql: 95 tests ran in 3186 ms, 0 failed
pgsql: 95 tests ran in 556 ms, 0 failed
mysql: 100 tests ran in 4327 ms, 0 failed
pgsql: 100 tests ran in 1396 ms, 0 failed
sqlsrv: skipped, driver not loaded
root@b7ab9472e08f:/php-crud-api#

Expand Down
Loading

0 comments on commit 2a76803

Please sign in to comment.