Skip to content

Commit cb55e1b

Browse files
committed
travis: Get CMake from kitware repo
This ensures that the latest version release is downloaded.
1 parent 54a3073 commit cb55e1b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.travis.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ language: sh
1818
os: linux
1919
dist: xenial
2020

21+
env:
22+
global:
23+
- PROFILE=develop
24+
2125
cache:
2226
pip: true
2327
ccache: true
@@ -28,8 +32,13 @@ cache:
2832

2933
addons:
3034
apt:
35+
sources:
36+
- sourceline: 'deb https://apt.kitware.com/ubuntu/ xenial main'
37+
key_url: 'https://apt.kitware.com/keys/kitware-archive-latest.asc'
38+
- sourceline: 'deb https://apt.kitware.com/ubuntu/ xenial-rc main'
3139
packages:
32-
- ninja-build
40+
- cmake
41+
- ninja-build
3342

3443
matrix:
3544
include:
@@ -63,6 +72,7 @@ matrix:
6372
git clone --depth=1 --single-branch https://github.com/ARMmbed/mbed-os.git;
6473
- >-
6574
script:
75+
- echo mbedtools build -t GCC_ARM -m ${TARGET_NAME} -b ${PROFILE}
6676
- mbedtools build -t GCC_ARM -m ${TARGET_NAME} -b ${PROFILE}
6777
- ccache -s
6878

0 commit comments

Comments
 (0)