Jeremy Mikola
fe7ee68a4d
PHPC-1003: Use container environment for Travis builds
2018-01-22 12:01:48 -05:00
Jeremy Mikola
40cbec3ee7
Remove macOS environments from build matrix
...
Travis' backlog for macOS builds is quite high, and the environments also do not support MongoDB. We can revisit adding these environments down the line when the infrastructure has improved and we sort out explicit installation of MongoDB versions (see: PHPLIB-299).
Note: a macOS build with Secure Channel was manually tested in mongodb/mongo-php-driver#736 .
2018-01-22 12:01:47 -05:00
Jeremy Mikola
071f90bacc
Upgrading run-tests.php is no longer necessary
...
PHP 5.4 was the last version where run-tests.php failed to report a non-zero exit code after a failure. Since the extension requires 5.5+, we can rely on any existing run-tests.php file.
2018-01-22 12:01:47 -05:00
Jeremy Mikola
d4e998f6a5
Add macOS environments to build matrix
2018-01-22 12:01:47 -05:00
Jeremy Mikola
df9c278d37
Make core and diff debugging more portable
2018-01-22 12:01:47 -05:00
Jeremy Mikola
61d4ffbd18
Coveralls API token is not needed for public projects
...
This was last updated in 90a64b43c9 when the project was hosted in the 10gen-labs groups.
2018-01-22 12:01:47 -05:00
Jeremy Mikola
83f333065e
LibreSSL cannot extract username subject from X509 certs
2018-01-22 12:01:47 -05:00
Jeremy Mikola
28c717be47
Do not ignore files within .travis.scripts/
...
If a directory is excluded, a negation on the files within it (e.g. "!dir/*") has no effect. Since .travis.scripts/ is excluded by ".*", we need to negate the directory itself to ensure the files within are tracked.
2018-01-22 12:01:47 -05:00
Jeremy Mikola
0e686fd9f0
Remove old Mongo Orchestration artifacts
...
These lines were originally added before 1.0 when a local Mongo Orchestration process was used to create the test environments (see: PHPC-128).
2018-01-22 12:01:47 -05:00
Jeremy Mikola
16fe17c667
Remove old API key for Coveralls
...
This was originally added in dcd732c485 and should have been removed when @bjori's coverity hook was removed in 5309c17282 .
2018-01-22 12:01:47 -05:00
Jeremy Mikola
d679bfe152
PHPC-888: Support additional TLS libraries for bundled libmongoc
2018-01-22 12:01:47 -05:00
Jeremy Mikola
274a4442f1
Use single equal sign for test comparisons
...
The double equal operator is a Bash-specific alias
2018-01-19 17:29:18 -05:00
Jeremy Mikola
8af9175353
Fix conditional for whether extension is enabled
2018-01-19 17:29:18 -05:00
Jeremy Mikola
b1a669010a
Do not ignore nested "build" directories
2018-01-19 17:29:18 -05:00
Jeremy Mikola
687c359dc9
Merge pull request #740
2018-01-19 17:17:53 -05:00
Jeremy Mikola
fd3c371412
PHPC-1098: Use exactly representable floats in tests
2018-01-19 15:34:28 -05:00
Jeremy Mikola
ec632a8e5b
Merge pull request #738
2018-01-16 19:30:50 -05:00
Jeremy Mikola
afd5696765
PHPC-1096: Allow building with libmongoc's bundled zlib
2018-01-16 14:36:25 -05:00
Jeremy Mikola
ba7aada5df
Only include snappy/zlib checks for bundled libmongoc
2018-01-16 14:30:16 -05:00
Derick Rethans
e51a184717
Merged pull request #737
2018-01-12 14:13:50 +00:00
Derick Rethans
d0d3cc7f96
Ensure these tests only run with wiredTiger engine
2018-01-12 11:55:41 +00:00
Derick Rethans
0465d4f2e7
PHPC-1093: Bound checking on 32-bit platforms for APM's duration_micros
2018-01-12 11:55:41 +00:00
Derick Rethans
86ac6ec4ff
Re-enable test that was disabled for ages as it works fine on Travis now.
2018-01-12 11:55:41 +00:00
Derick Rethans
1e06f3428f
Replace check for 'TRAVIS' with MongoDB server version check
2018-01-12 11:55:41 +00:00
Derick Rethans
a0c1b539fd
Fix test due to quirck in PHP parser
2018-01-11 17:44:25 +00:00
Derick Rethans
4a178a3b79
Disable test that fails on 32-bit platforms because the cursor ID can not be represented
2018-01-11 17:44:25 +00:00
Derick Rethans
d1563898e6
Disable tests for Int64 type that can not work on a 32-bit platform
2018-01-11 14:57:02 +00:00
Derick Rethans
ca78df24ba
PHPC-1081: Make driver compile on 32-bit platforms without warning
2018-01-11 14:55:22 +00:00
Derick Rethans
78073a8e6a
Merged pull request #735
2018-01-10 16:54:21 +00:00
Derick Rethans
cb6d2c1f69
PHPC-1067: BSON document produces driver segfault
2018-01-10 16:39:21 +00:00
Jeremy Mikola
63d205f91b
Merge pull request #734
2018-01-09 08:27:19 -05:00
Jeremy Mikola
37b8eaffd3
PHPC-1092: Don't reset hash on successive get_properties calls
...
This removes a call to zend_hash_clean() on successive calls to a BSON object's get_properties handler, which can lead to an infinite loop when iterating the object's properties with foreach on PHP 7.x.
For historical reference, the original call to zend_hash_clean() was introduced in ad1f3f049f for #607 (PHPC-939).
2018-01-08 22:03:39 -05:00
Jeremy Mikola
13327755f8
Merge pull request #728
2018-01-08 10:29:20 -05:00
Jeremy Mikola
f21ef4d963
Add REPLICASET_DNS to basic.inc servers array
2018-01-08 10:28:56 -05:00
Jeremy Mikola
6ca8c7fbc1
Remove redundant REPLICASET_36 mo environment
2018-01-08 10:28:56 -05:00
Jeremy Mikola
9812d6713e
Upgrade VM to trusty64 and revise mo installation
...
This also removes unused server versions.
2018-01-08 10:28:56 -05:00
Jeremy Mikola
9f9fe60193
Add missing json MO config to PECL package
2018-01-08 10:28:56 -05:00
Jeremy Mikola
34e23e970f
Fix whitespace
2018-01-08 10:28:56 -05:00
Jeremy Mikola
e112b98496
Merge pull request #730
2018-01-08 10:27:03 -05:00
Jeremy Mikola
d8d44f0acf
PHPC-1050: Command cursor should not invoke getMore at execution
2018-01-08 10:26:45 -05:00
Jeremy Mikola
4cdf895b91
Merge pull request #731
2018-01-08 10:24:39 -05:00
Jeremy Mikola
a6d40fc42a
Remove redundant phongo_bulkwrite_init function
2018-01-08 10:24:32 -05:00
Jeremy Mikola
258d2e61b4
Merge pull request #727
2018-01-06 21:23:23 -05:00
Jeremy Mikola
a49c71cfc9
PHPC-1077: Bump libmongoc to 1.9.1-dev
2018-01-06 21:23:11 -05:00
Jeremy Mikola
35b77be174
Merge pull request #729
2018-01-04 14:49:53 -05:00
Jeremy Mikola
6fe5824a2a
NOP if xargs input is empty
2018-01-04 14:49:45 -05:00
Jeremy Mikola
8995eb6236
Ensure pruned utils directory is excluded from find output
2018-01-04 14:49:45 -05:00
Derick Rethans
f81392af31
Merged pull request #725
2018-01-04 15:51:21 +00:00
Derick Rethans
5c7fa9bf61
PHPC-1078: Create constant for available read concern level
2018-01-04 15:50:59 +00:00
Derick Rethans
f8b06e62e4
Merged pull request #726
2018-01-04 15:50:42 +00:00