Adding travis.yml for project build


#1

I am trying to integrate Travis CI for my project hosted on Github. I have build the project using cmake.
Can anyone provide me a method to write travis.yml file.?
If the cmake build output can help for writing the travis.yml, I would like to use it too.