Enable travis for ble host tests.

pull/6086/head
Vincent Coubard 2018-02-13 17:40:57 +00:00
parent aeb992ee3c
commit 734b5eceec
1 changed files with 17 additions and 0 deletions

View File

@ -115,6 +115,23 @@ matrix:
# Run local equeue tests
- make -C $EVENTS/equeue test
- env:
- NAME=ble-host-tests
- BLE_HOST_TESTS=features/FEATURE_BLE/tests
install:
# Install dependencies
- sudo apt-get install cmake
# Print versions we use
- gcc --version
- cmake --version
script:
# Compile the tests
- mkdir $BLE_HOST_TESTS/build
- cd $BLE_HOST_TESTS/build && cmake .. -G "Unix Makefiles"
- make -C BLE_HOST_TESTS/build
# Run ble host tests
- $BLE_HOST_TESTS/build/gatt-client-tests
- env:
- NAME=littlefs
- LITTLEFS=features/filesystem/littlefs