Skip to content

Commit e86ce22

Browse files
committed
Travis: Remove make.py test for events and littlefs
The removed tests were building applications from the content of their respective README files. The events test was building with the full profile twice. The first time with the repository as is; and the second time after deleting some directories (to simulate the baremetal profile). The littlefs test was building once with the full profile. Testing make.py is no longer required as it is no longer supported. There is already test coverage for APIs in the removed tests.
1 parent 2255408 commit e86ce22

File tree

1 file changed

+2
-33
lines changed

1 file changed

+2
-33
lines changed

.travis.yml

Lines changed: 2 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -265,37 +265,10 @@ matrix:
265265
### Extended Tests ###
266266
- &extended-vm
267267
stage: "Extended"
268-
name: "events"
269-
env: NAME=events EVENTS=events
270-
language: python
271-
python: 3.7
272-
install:
273-
# Install gcc
274-
- source_pkg gcc
275-
- arm-none-eabi-gcc --version
276-
# Install python modules
277-
- python -m pip install --upgrade pip==18.1
278-
- python -m pip install --upgrade setuptools==40.4.3
279-
- pip install -r requirements.txt
280-
- pip list --verbose
281-
script:
282-
# Check that example compiles
283-
- sed -n '/``` cpp/,/```/{/```$/Q;/```/d;p;}' ${EVENTS}/README.md > main.cpp
284-
- python tools/make.py -t GCC_ARM -m K64F --source=. --build=BUILD/K64F/GCC_ARM -j0
285-
# Check that example compiles without rtos
286-
- sed -n '/``` cpp/,/```/{/```$/Q;/```/d;p;}' ${EVENTS}/README.md > main.cpp
287-
- |
288-
rm -r cmsis/CMSIS_5/CMSIS/RTOS2 cmsis/device/rtos drivers/usb connectivity/cellular connectivity/drivers/cellular \
289-
connectivity/libraries/ppp connectivity/netsocket connectivity/nanostack connectivity/lwipstack features/frameworks/greentea-client \
290-
features/frameworks/utest features/frameworks/unity BUILD
291-
- python tools/make.py -t GCC_ARM -m NUCLEO_F103RB --source=. --build=BUILD/NUCLEO_F103RB/GCC_ARM -j0
292-
# Run profiling tests
293-
- make -C ${EVENTS}/tests/unit prof | tee prof
294-
- ccache -s
295-
296-
- <<: *extended-vm
297268
name: "littlefs"
298269
env: NAME=littlefs LITTLEFS=storage/filesystem/littlefs
270+
language: python
271+
python: 3.7
299272
install:
300273
# Install gcc
301274
- source_pkg gcc
@@ -323,10 +296,6 @@ matrix:
323296
- losetup /dev/loop0 DISK
324297
- CFLAGS="-Werror -Wno-format"
325298
script:
326-
# Check that example compiles
327-
- export CFLAGS="-Werror -Wno-format"
328-
- sed -n '/``` c++/,/```/{/```/d;p;}' ${LITTLEFS}/README.md > main.cpp
329-
- python tools/make.py -t GCC_ARM -m K82F --source=. --build=BUILD/K82F/GCC_ARM -j0
330299
# Run local littlefs tests
331300
- make -C${LITTLEFS}/littlefs test QUIET=1
332301
# Run local littlefs tests with set of variations

0 commit comments

Comments
 (0)