Fixed the warning issue in Travis Build'