Travis: Add kitware repository to source list

The default distribution of CMake that comes with focal is 3.16.3. Add
kitware's repository (https://apt.kitware.com/) to the source list so
the latest copy of CMake is installed during CI.
pull/14538/head
harmut01 2021-05-05 12:48:33 +01:00
parent 680bede066
commit 5a1817295c
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ before_install:
addons:
apt:
sources:
- sourceline: 'deb https://apt.kitware.com/ubuntu/ focal main'
key_url: 'https://apt.kitware.com/keys/kitware-archive-latest.asc'
packages:
- cmake
- ninja-build