Only install the minimal CUDA subpackages necessary for building.
Merge pull request #806 from jeffdonahue/travis-minimal-cuda

speed up Travis build by installing only the CUDA subpackages necessary for building