Optimized Travis CI script.