cleanest way to not show whitelisted errors in travis