Commit Graph

62 Commits

Author SHA1 Message Date
Jeremy Mikola
1650a911dd PHPC-2174: Bump libmongocrypt to 1.6.2 (#1394) 2022-12-27 23:04:58 -05:00
Andreas Braun
ed31cba5cb PHPC-1739 Move from travis-ci to GitHub Actions (#1199)
* Add GitHub Action workflow for tests

* Add workflow to check formatting

* Remove travis-ci config

* Fix clang-format error

* Add shared json extension for tests

* Hide output for xfail tests

* Use mongo-orchestration configs from drivers-evergreen-tools

* Drop obsolete test scripts

This drops the legacy VM environment and remnants of the travis-ci config

* Remove obsolete server_id config

* Add note about MONGO_ORCHESTRATION_URI to contribution docs

* Restore previous XFAIL behaviour

This did not have the expected effect of preventing diff output for tests that expect failures, so it can be reverted.

* Make SSL certificate path configurable for tests

Since mongo-orchestration will always bring its own certificates, we need to set the correct SSL certificate directory for our tests. This is skipped on GitHub Actions as we don't test SSL builds there (yet). If SSL_DIR was not set, tests requiring SSL will be skipped.

* Fix code review nits
2021-02-23 14:49:54 +01:00
Andreas Braun
7cea21a25a PHPC-1496: Add support for compiling with libmongocrypt 2020-01-08 12:41:41 +01:00
Jeremy Mikola
d145409286 PHPC-1364: Upgrade libmongoc to 1.14.0
Per src/libmongoc/doc/installing.rst, the VERSION_CURRENT and VERSION_RELEASED files must now be generated. This requires Python and the GitPython pip module to run src/libmongoc/build/calc_release_version.py. A new libmongoc-version-current Makefile target has been added.
2019-05-01 13:42:38 -04:00
Derick Rethans
0a5fd12e20 PHPC-1118: Implement use of clang-format 2018-02-20 17:06:55 +00: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
Jeremy Mikola
356c90beb5 Update Makefile target for cleaning test dirs
This prunes the utils directory instead of depending on a whitelist, which would need to be more frequently updated.
2018-01-03 12:57:09 -05:00
Jeremy Mikola
79a1d4476d Reload VM and restart MO in make test-bootstrap 2017-12-07 13:53:27 -05:00
Jeremy Mikola
0654afff02 Remove references to Composer and PHPUnit 2017-02-10 15:56:12 -05:00
Jeremy Mikola
994781050b PHPC-584: Remove MkDocs documentation
PHP.net is the canonical source of all extension documentation.
2016-10-26 09:56:52 -04:00
Jeremy Mikola
3a54c35978 Remove make target for generating release notes from Git logs 2016-08-02 15:57:20 -04:00
Jeremy Mikola
8a21ca2451 Revise prep-release.php handling
Allows version argument to contain "-stability" suffix, which we'd like for accurate version checking in userland and PHP extension info.
2015-12-07 12:55:52 -05:00
Jeremy Mikola
832a556aac Omit merge commits from release changelog 2015-10-05 22:05:12 -04:00
Jeremy Mikola
67244cd645 Add line break between versions in release notes 2015-09-10 11:28:25 -07:00
Hannes Magnusson
39fa9ed01a Don't be printing out these commands during execution 2015-08-21 14:23:08 -07:00
Hannes Magnusson
20a4c3d344 PHPC-366: Update release script to use RELEASE-x.y file 2015-08-21 13:42:38 -07:00
Hannes Magnusson
810ac48dcb Move the php_array to contrib/ and rename to _api
The current name conflicted with PHP own php_array.h :]
2015-07-15 15:00:18 -07:00
Hannes Magnusson
f4f1f79f23 Fix coveralls build 2015-04-23 20:06:58 -07:00
Hannes Magnusson
700deb30a9 No need for code-coverage for contrib 2015-04-23 10:16:20 -07:00
Hannes Magnusson
1b256699df PHPC-234: Run test suite automatically on FreeBSD 10.1 2015-04-09 21:00:17 -07:00
Hannes Magnusson
569c01eb02 PHPC-80: Create distcheck target 2015-04-08 17:49:23 -07:00
Hannes Magnusson
1e7ecc6fb3 Split release target into release and packaging 2015-03-30 16:54:10 -07:00
Hannes Magnusson
809e99d7b8 PHPC-174: Rename module registration, constants and so on to mongodb 2015-03-23 16:37:38 -07:00
Hannes Magnusson
88f8702ebe Only run our tests as part of release for now 2015-03-23 16:15:33 -07:00
Hannes Magnusson
8c2c3040c1 PHPC-195: Remove mongoc/bson header file workarounds 2015-03-23 14:43:30 -07:00
Hannes Magnusson
996e66e654 Add "make help" since I always forget the names 2015-03-11 09:53:55 -07:00
Hannes Magnusson
a9823e706f Ignore me. Trim trailing space
This has been annoying me for a long time, especially the '<?php '
2015-02-19 13:57:58 -08:00
Hannes Magnusson
406ab7a821 PHPC-142: add 'list-servers' target to enumerate all running MO servers 2015-01-27 15:44:11 -08:00
Hannes Magnusson
c01c0439ba Fix paths to root dir .phar 2014-12-22 13:20:16 -08:00
Hannes Magnusson
3d64364187 Update composer after the repo renaming 2014-12-22 13:05:32 -08:00
Hannes Magnusson
7c5d150d50 PHON-91: Use Vagrant to virtualise mongod 2014-12-16 12:09:28 -08:00
Hannes Magnusson
2d88ca250f PHON-5: Use Mongo Orchestration to manage MongoDB servers 2014-12-16 12:09:28 -08:00
Jeremy Mikola
37b76acfa7 Fix composer update and test execution for userland library 2014-12-12 17:05:38 -05:00
Hannes Magnusson
e95e348ae0 Update links after moving the repo to 10gen-labs from bjori 2014-12-12 11:48:05 -08:00
Hannes Magnusson
d3bbde610e Fix instructions 2014-12-11 17:30:22 -08:00
Jeremy Mikola
8c73b1ffe9 Require composer deps before test tasks
Since we can't specify a dep on "test" itself, we'll require composer as the first dep of "testall". This should ensure that the fixture tests aren't skipped.
2014-12-10 16:06:37 -05:00
Jeremy Mikola
b1a8e443da Use CRUD's PHPUnit config when running tests
We still want to specify process isolation for the extension, but other options can rely on CRUD's own configuration.
2014-12-10 16:05:48 -05:00
Jeremy Mikola
d37d82d67e Use composer update instead of install
This will implicitly pull in dev dependencies and ensure that composer doesn't complain if composer.json and composer.lock (currently in gitignore) are out of sync.
2014-12-10 16:04:46 -05:00
Hannes Magnusson
e78eea3970 PHP-1324: Embed phongo-crud tests under 'testunit' and 'testall' targets 2014-12-09 16:06:26 -08:00
Hannes Magnusson
bca9ddf48d Search for composer.phar too for those not with it globally installed 2014-12-09 12:31:45 -08:00
Hannes Magnusson
d765ff324b Add documentation build and release targets 2014-12-08 16:15:53 -08:00
Hannes Magnusson
c6aba222ee Add couple of more reminders 2014-12-08 15:58:51 -08:00
Hannes Magnusson
ef32e83cef Lets not actually tag automatically, just ask politely 2014-12-03 18:00:24 -08:00
Hannes Magnusson
5cac7d1c9b Whopsy, we need $$ to read the output 2014-12-03 17:55:20 -08:00
Hannes Magnusson
19d7c14c02 List commits per release in the RELEASE file 2014-11-26 12:23:51 -08:00
Hannes Magnusson
bfeee295f9 Create the tag at the end of making the release ball 2014-11-25 16:06:52 -08:00
Hannes Magnusson
7ae5ffaa0c Running the tests is of course part of a release 2014-11-25 15:16:51 -08:00
Hannes Magnusson
5ac7dbb230 Get the release number from the module 2014-11-25 15:12:06 -08:00
Hannes Magnusson
1fcf30c490 Generate package.xml and release archive 2014-11-25 14:33:45 -08:00