News Feed
Sections




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

DZone.com:
TravisCI Intro and PHP Example
March 22, 2012 @ 12:20:26

In introduces you to using TravisCI to provide continuous integration services for your project (externally). Continuous integration is a way to provide "quality control" of your code, making it easier to run testing, check syntax and more, small pieces at a time.

Travis CI in fact works by tying itself to a particular project on Github, and by triggering a new build every time new commits are available on the chosen branch (master, usually). Your build shows up on the main page along with all the other projects in the newsfeed, so try to maintain it green. :) Travis CI adds this other aspect to Github's social coding.

He talks a bit about how it works - builds running on VMs, some with advanced tools like Selenium - and includes an example based off a simple travis.yml file defining a script to run pre-build. He also points out a special caveat about databases - they support things like MySQL, Sqlite, MongoDB and CouchDB, but you'll have to generate them from scratch every time, sample data and all.

0 comments voice your opinion now!
travisci example continuous integration external tutorial


blog comments powered by Disqus

Similar Posts

Stefan Mischook's Blog: Object Oriented PHP Videos are now out!

Pablo Viquez: PHP Step by Step Debugging with JMeter, XDebug & Eclipse PDT

NETTUTS.com: ASP.NET for PHP Developers

David Coallier's Blog: Namespaces has PHP 5.3 (Or the other way around)

ZendCasts.com: Logging in Users using Doctrine and Zend_Auth


Community Events





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


framework opinion unittest refactor series threedevsandamaybe community install developer symfony2 laravel testing introduction code podcast language configure list release interview

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