Skip to content

Commit 5a18172

Browse files
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.
1 parent 680bede commit 5a18172

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ before_install:
3535

3636
addons:
3737
apt:
38+
sources:
39+
- sourceline: 'deb https://apt.kitware.com/ubuntu/ focal main'
40+
key_url: 'https://apt.kitware.com/keys/kitware-archive-latest.asc'
3841
packages:
3942
- cmake
4043
- ninja-build

0 commit comments

Comments
 (0)