Skip to content

Commit 734b5ec

Browse files
committed
Enable travis for ble host tests.
1 parent aeb992e commit 734b5ec

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,23 @@ matrix:
115115
# Run local equeue tests
116116
- make -C $EVENTS/equeue test
117117

118+
- env:
119+
- NAME=ble-host-tests
120+
- BLE_HOST_TESTS=features/FEATURE_BLE/tests
121+
install:
122+
# Install dependencies
123+
- sudo apt-get install cmake
124+
# Print versions we use
125+
- gcc --version
126+
- cmake --version
127+
script:
128+
# Compile the tests
129+
- mkdir $BLE_HOST_TESTS/build
130+
- cd $BLE_HOST_TESTS/build && cmake .. -G "Unix Makefiles"
131+
- make -C BLE_HOST_TESTS/build
132+
# Run ble host tests
133+
- $BLE_HOST_TESTS/build/gatt-client-tests
134+
118135
- env:
119136
- NAME=littlefs
120137
- LITTLEFS=features/filesystem/littlefs

0 commit comments

Comments
 (0)