THRIFT-2909 Improve travis build