File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ dist: focal
20
20
21
21
addons :
22
22
apt :
23
+ sources :
24
+ - sourceline : ' deb https://apt.kitware.com/ubuntu/ focal main'
25
+ key_url : ' https://apt.kitware.com/keys/kitware-archive-latest.asc'
23
26
packages :
24
27
- cmake
25
28
- srecord
@@ -46,6 +49,14 @@ matrix:
46
49
language : python
47
50
python : 3.8
48
51
install :
52
+ # Hide Travis-preinstalled CMake
53
+ # The Travis-preinstalled CMake is unfortunately not installed via apt, so we
54
+ # can't replace it with an apt-supplied version very easily. Additionally, we
55
+ # can't permit the Travis-preinstalled copy to survive, as the Travis default
56
+ # path lists the Travis CMake install location ahead of any place where apt
57
+ # would install CMake to. Instead of apt removing or upgrading to a new CMake
58
+ # version, we must instead delete the Travis copy of CMake.
59
+ - sudo rm -rf /usr/local/cmake*
49
60
# Install arm-none-eabi-gcc
50
61
- pushd /home/travis/build && mkdir arm-gcc && cd arm-gcc
51
62
- curl -L0 "https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2?revision=108bd959-44bd-4619-9c19-26187abf5225&la=en&hash=E788CE92E5DFD64B2A8C246BBA91A249CB8E2D2D" --output gcc-arm-none-eabi-9-2019-q4-major.tar.bz2
You can’t perform that action at this time.
0 commit comments