This article explains how to use Build Edition for continuous integration.
A detailed "How-To" documentation to integrate Build into the TeamBuild of Team Foundation Server (TFS) or Visual Studio Online can be found in the article "How to run SPCAF in a TeamBuild"
You can retrieve a ready-made assembly package, to add to your custom assemblies in your source control system from the Downloads Page.
Build Edition supports direct integration in TFS 2010, 2012, 2013, and Visual Studio Online. With the provided MSBuild task, PowerShell CmdLet, and the command-line tool, it can also be integrated into other build systems like TeamCity.