Testing PECL extensions on Travis-CI has always been cumbersome for me; build PHP in different versions and debug/threadsafe flavors, install PECL dependencies and so on, which usually results in a mess of command line scripts, repeated for every extension.
Enter travis-pecl.
This tiny support bin comes with a Makefile and small PHP scripts to generate the build matrix and check your package.xml file. It supports building PHP in a wide variety of flavors, installing PECL dependencies from the PECL website or from bundled pharext packages and running the testsuite with a comprehensive set of commands.
Let's look at a few commands with a properly set up environment from the test matrix:
env:
- PHP=5.6 enable_debug=yes with_iconv=yes enable_json=yes
Build PHP:
make -f travis/pecl/Makefile php
Install a PECL dependency:
make -f travis/pecl/Makefile pecl PECL=propro
Install a PECL dependency from a pharext package, located in travis/:
make -f travis/pecl/Makefile pharext/raphf-phpng
Build the currently checked out extension;
make -f travis/pecl/Makefile ext PECL=http
Run the testsuite:
make -f travis/pecl/Makefile test
Finally, check out the README and have a look at a couple of complete examples here:
University projects involving technical drawings and complex modelling can quickly become overwhelming, especially when deadlines are approaching fast. That’s where professional AutoCAD assignment help for UK students becomes a game changer. At Rapid Assignment Help, our qualified experts understand your academic requirements and deliver precise, high-quality work tailored to your needs. Whether it’s 2D drafting, 3D modelling, or mechanical drawings, we’ve got you covered. With affordable pricing starting from £4.99, 24/7 support, and on-time delivery, achieving top grades has never been easier. Take the first step towards academic excellence today!
ReplyDeleteJuggling university life in one of Scotland’s most vibrant cities can be truly challenging. Between lectures, part-time jobs, and social commitments, academic pressure builds up fast. That’s why reliable assignment help for Glasgow students has become more essential than ever. At Rapid Assignment Help, our qualified UK-based experts deliver high-quality, plagiarism-free assignments tailored to your university’s specific guidelines and marking criteria. From essays and reports to technical projects, we cover every subject. With affordable pricing, 24/7 support, and on-time delivery, we ensure every Glasgow student gets the academic support they truly deserve. Place your order today!
ReplyDelete