Fixed gcc warning (unused return value).
Added travis ci status image.