On Sat, 2019-04-06 at 10:56 +0200, Rolf Eike Beer wrote: > Nice! > > The magic spell for TravisCI is: > > addons: > apt: > sources: > - sourceline: 'deb https://apt.kitware.com/ubuntu/ xenial main' > key_url: 'https://apt.kitware.com/keys/kitware-archive-2019.a > sc' > packages: > - cmake > > Or "trusty" if you still use the default distro. > > Eike
Awesome! Thanks for the tip Eike! Please keep in mind that we don't officially support Trusty (though that doesn't necessarily mean the binaries won't work), and we don't have a repository named "trusty" on our server, so I don't think putting "trusty" in the source line will work. Also, it now occurs to me that we should have a "latest" key so that use cases like this don't have to change the URL every year. I have just done this, so the key URL is now: https://apt.kitware.com/keys/kitware-archive-latest.asc Kyle -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake-developers