Only install required dependencies for CI build.