Restore travis.cfg to optimize Travis-build