News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lorna Mitchell:
Using Phing with Travis CI
July 18, 2014 @ 11:23:45

Lorna Mitchell has a quick post to her site today showing you how to link up Travis-CI and phing to execute the phing build on the Travis-CI service.

We've started using Travis CI on one of my projects to run some build processes to check that everything looks good before we merge/deploy code. One thing I ran into quite quickly was that I wanted to install phing in order to use the build scripts we already have and use elsewhere, but that it isn't provided by default by Travis CI.

To get it all cooperating, she uses the "before_install" settings/functionality Travis provides to use PEAR to discover and install phing. Then in the "script" section, the build can call the phing executable without problems. She does point out one "magic" kind of thing that rehashes the Travis environment and lets to know phing exists: the...well..."rehash" configuration setting.

0 comments voice your opinion now!
phing travisci beforeinstall tutorial build process

Link: http://www.lornajane.net/posts/2014/using-phing-with-travis-ci

blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: Writing Professional Looking Documentation w/ Docbook, PHP, Phing & Apache FOP

PHPBuilder.com: Using the mysqli Interface: Basic Techniques

DZone.com: TravisCI Intro and PHP Example

KillerPHP Blog: PHP Video: Processing Forms with PHP - part 2

Gonzalo Ayuso: Dynamic routes with AngularJS and Silex


Community Events

Don't see your event here?
Let us know!


interview opinion laravel5 voicesoftheelephpant unittest framework development feature podcast api laravel library series extension release wordpress language community introduction threedevsandamaybe

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework