2018-06-27 09:01:06 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-08-20 14:32:47 +02:00
|
|
|
# CMake Test
|
|
|
|
echo -e "travis_fold:start:check_cmakelists"
|
|
|
|
tools/check_cmakelists.sh
|
|
|
|
if [ $? -ne 0 ]; then exit 1; fi
|
|
|
|
echo -e "travis_fold:end:check_cmakelists"
|
2018-06-27 09:01:06 +02:00
|
|
|
|
2019-08-20 14:32:47 +02:00
|
|
|
# ArduinoIDE Test
|
|
|
|
echo -e "travis_fold:start:prep_arduino_ide"
|
|
|
|
tools/prep-arduino-ide.sh
|
|
|
|
if [ $? -ne 0 ]; then exit 1; fi
|
|
|
|
echo -e "travis_fold:end:prep_arduino_ide"
|
2018-06-27 09:01:06 +02:00
|
|
|
|
2019-08-20 14:32:47 +02:00
|
|
|
echo -e "travis_fold:start:test_arduino_ide"
|
|
|
|
tools/test-arduino-ide.sh
|
2018-06-27 09:01:06 +02:00
|
|
|
if [ $? -ne 0 ]; then exit 1; fi
|
2019-08-20 14:32:47 +02:00
|
|
|
echo -e "travis_fold:end:test_arduino_ide"
|
2018-06-27 09:01:06 +02:00
|
|
|
|
|
|
|
echo -e "travis_fold:start:size_report"
|
|
|
|
cat size.log
|
|
|
|
echo -e "travis_fold:end:size_report"
|
|
|
|
|
2019-08-20 14:32:47 +02:00
|
|
|
# PlatformIO Test
|
|
|
|
echo -e "travis_fold:start:prep_platformio"
|
|
|
|
tools/prep-platformio.sh
|
2018-06-27 09:01:06 +02:00
|
|
|
if [ $? -ne 0 ]; then exit 1; fi
|
2019-08-20 14:32:47 +02:00
|
|
|
echo -e "travis_fold:end:prep_platformio"
|
2018-06-27 09:01:06 +02:00
|
|
|
|
2019-08-20 14:32:47 +02:00
|
|
|
echo -e "travis_fold:start:test_platformio"
|
|
|
|
tools/test-platformio.sh
|
2018-06-27 09:01:06 +02:00
|
|
|
if [ $? -ne 0 ]; then exit 1; fi
|
2019-08-20 14:32:47 +02:00
|
|
|
echo -e "travis_fold:end:test_platformio"
|