From ea88945f1892ba2caaec73fc02594ec5e53dd4c4 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Wed, 12 Jun 2019 21:27:15 +0200 Subject: [PATCH] . --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9fdf96d..0ef6dbf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,8 +31,12 @@ before_install: - if [ "$MODE" = "ARDUINO" ]; then source <(curl -SLs "https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh"); fi - if [ "$MODE" = "ARDUINO" ]; then downloadArduinoLib FlashStorage "https://github.com/thelsing/FlashStorage/archive/master.zip"; fi - if [ "$MODE" = "ARDUINO" ]; then downloadArduinoLib BSEC "https://github.com/BoschSensortec/BSEC-Arduino-library/archive/master.zip"; fi + # only default warning level - if [ "$MODE" = "ARDUINO" ]; then sed -i 's#compiler.warning_level=all#compiler.warning_level=default#' ~/.arduino15/preferences.txt; fi + # changes for bsec lib - if [ "$MODE" = "ARDUINO" ]; then sed -ri 's#^recipe.c.combine.pattern=([^$]*)\{archive_file\}" -Wl,--end-group#recipe.c.combine.pattern=\1\{archive_file\}" {compiler.libraries.ldflags} -Wl,--end-group#' ~/.arduino15/packages/arduino/hardware/samd/1.6.21/platform.txt; fi + - if [ "$MODE" = "ARDUINO" ]; then sed -i 's#compiler.elf2hex.extra_flags=#compiler.elf2hex.extra_flags=\ncompiler.libraries.ldflags=#' ~/.arduino15/packages/arduino/hardware/samd/1.6.21/platform.txt; fi + # the HDC100X lib is not properly set up in githup so move things around a bit - if [ "$MODE" = "ARDUINO" ]; then rm -rf $HOME/arduino_ide/libraries/HDC100X_Arduino_Library-master; fi