Continuous Integration is used to automatically build whole software packages after changes has been done. It can be also used to automatically detect errors (during compilation or with unit testing) in code repository.
How it can be organized for Open Source C++ projects:
Status publication at GitHub
For projects published at GitHub you can use "readme.md" file to display current build status. This file is automatically parsed by GitHub as Markdown file and displays nice status information when you include the following:
[![Build status][Build status image]][Build status URL] [Build status image]: https://secure.travis-ci.org/AcmeCorp/EnterpriseProject1.png?branch=master [Build status URL]: http://travis-ci.org/AcmeCorp/EnterpriseProject1
Where "AcmeCorp" is account name at travis-ci.org and "EnterpriseProject1" is a project name configured there.
Travis-ci.org build configuration
Prepare config file, for example: GSL
More details: Building a C++ Project.