THRIFT-2571 doc and speed up travis build