optimizes travis build.