attempt to make gem smarter about travis errors