I use .travis.yml in a GitHub library for auto-building on commit. My library recently started to link against the CUDA driver library, libcuda.so. I a
.travis.yml
libcuda.so