Optimized build in travis