Add travis support
Fixed for travis
Added option to display log messsages
Build lean version on the travis
Merge branch 'add_travis'