1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Use folds to improve readability of Travis logs

This commit is contained in:
Ivan Grokhotkov 2016-03-13 01:56:21 +03:00
parent 324c41fd7f
commit d06549e86e
2 changed files with 9 additions and 3 deletions

View File

@ -13,9 +13,12 @@ addons:
script:
- set -e
- export CXX="g++-4.8" CC="gcc-4.8" GCOV="gcov-4.8"
- echo -e "travis_fold:start:host_tests"
- pushd $TRAVIS_BUILD_DIR/tests/host
- make
- make clean-objects
- echo -e "travis_fold:end:host_tests"
- echo -e "travis_fold:start:sketch_test_env_prepare"
- popd
- wget -O arduino.tar.xz https://www.arduino.cc/download.php?f=/arduino-nightly-linux64.tar.xz
- tar xf arduino.tar.xz
@ -31,7 +34,13 @@ script:
- cd $TRAVIS_BUILD_DIR
- source tests/common.sh
- install_libraries
- echo -e "travis_fold:end:sketch_test_env_prepare"
- echo -e "travis_fold:start:sketch_test"
- build_sketches $HOME/arduino_ide $TRAVIS_BUILD_DIR "-l $HOME/Arduino/libraries"
- echo -e "travis_fold:end:sketch_test"
- echo -e "travis_fold:start:size_report"
- cat size.log
- echo -e "travis_fold:end:size_report"
after_success:
- pushd $TRAVIS_BUILD_DIR/tests/host

View File

@ -72,9 +72,6 @@ function build_sketches()
print_size_info $build_dir/*.elf >>size.log
done
set -e
echo -e "\n ------------ Size report ------------ \n"
cat size.log
echo -e "\n ------------------------------------- \n"
}
function install_libraries()