Skip to content

Commit 0059596

Browse files
committed
Travis: add kvstore configuration
1 parent 03449e9 commit 0059596

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ matrix:
109109
- &cmake-build-test
110110
stage: "CMake"
111111
name: "CMake blinky example"
112-
env: NAME=cmake_test
112+
env: NAME=cmake_test EXAMPLE_NAME=mbed-os-example-blinky
113113
language: python
114114
python: 3.8
115115
install:
@@ -121,8 +121,8 @@ matrix:
121121
# We use manual clone, with depth and single branch = the fastest
122122
# Because of this, we need to create .mbed file as the current tools require it
123123
- >-
124-
git clone --depth=1 --single-branch --branch feature-cmake https://github.com/ARMmbed/mbed-os-example-blinky.git;
125-
cd mbed-os-example-blinky;
124+
git clone --depth=1 --single-branch --branch feature-cmake https://github.com/ARMmbed/${EXAMPLE_NAME}.git;
125+
cd ${EXAMPLE_NAME};
126126
git clone --depth=1 --single-branch https://github.com/ARMmbed/mbed-os.git;
127127
cd mbed-os;
128128
git fetch origin +refs/pull/${TRAVIS_PULL_REQUEST}/merge;
@@ -135,6 +135,10 @@ matrix:
135135
script:
136136
- cd build && cmake .. -GNinja -DMBED_PROFILE=develop && cmake --build .
137137

138+
- <<: *cmake-build-test
139+
name: "CMake kvstore example"
140+
env: NAME=cmake_test EXAMPLE_NAME=mbed-os-example-kvstore
141+
138142
### Docs Tests ###
139143
- &docs-vm
140144
stage: "Docs"

0 commit comments

Comments
 (0)