[travis] Add test coverage support.
Fix GCC warning