reorg travis build script