News Feed
Sections




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

Henrik Bjørnskov's Blog:
Travis & Composer sitting in a tree K-I-S-S-I-N-G
November 18, 2011 @ 11:03:01

Henrik Bjørnskov has a quick new post today showing how to combine two powerful technologies into a simple, configurable autoload system in a Symfony Travis-CI build with Composer.

To integrate your project with travis the only thing necesarry is to have a .travis.yml file and a working PHPUnit test setup like http://github.com/simplethings/SimpleThingsFormExtraBundle. Where the Tests/vendors.php script is executed before the tests are perfomed. But it would be way cooler to just have Composer handle the autoloading and dependencies.

A sample .travis.yml file is included in the post (also here) as well as instructions for grabbing dependencies and including the autoload process in your application's bootstrap.

0 comments voice your opinion now!
composer travisci build system yml configuration tutorial


blog comments powered by Disqus

Similar Posts

Jason Gilmore's Blog: Sixteen Best Practices- and Productivity-Related PHP Tutorials

Mastering Zend Framework: Building and Executing SQL Queries In Zend

SANIsoft Blog: The longer Lithium Blog tutorial using MySQL – Part 1

EchoDitto Labs Blog: How to Configure Eclipse PDT with Zend Server Debugger on MAMP for Drupal

Gennady Feldman's Blog: Installing Oracle Instant Client 11g and PECL OCI8 (Part 2)


Community Events

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


version performance php7 release voicesoftheelephpant symfony2 framework podcast api library laravel opinion extension interview series introduction conference example community install

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