Sachin Handiekar

Sachin Handiekar


September 2015
M T W T F S S
« Aug    
 123456
78910111213
14151617181920
21222324252627
282930  

Categories


Building a C/C++ project on Travis CI

Sachin HandiekarSachin Handiekar
Let’s see how we can use Travis CI for building a C/C++ project on Travis CI. We’ll use the consoleRadio C application which is used to stream Shoutcast Radio as an exampleThe .travis.yml file for the consoleRadio application looks like the following –


Installing a custom version of cmake
We can install a custom version of cmake in Travis CI, using the following script –



Building a library from source

A library/dependency in Travis CI can be build from source and installed on Travis CI env.  –

1. Let’s build the mpg123 library from source and install it on Travis CI. In .travis.yml, we’ll have the following config –

2. We’ll create a bash script (installMPG123.sh) with the following content –

Comments 0
There are currently no comments.

Leave a Reply