From 333af7d91bc0e600fdb7ce90cb38dd4f237af17a Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Wed, 18 Sep 2019 21:07:52 +0200 Subject: [PATCH 1/2] [CI] Update to Arduino 1.8.10 Signed-off-by: Frederic Pillon --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9abe84795b..71c41ba5b0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,7 +39,7 @@ matrix: # - env: - NAME=arduinoCI - - IDE_VERSION=1.8.9 + - IDE_VERSION=1.8.10 # Use in CI/build/conf/path_config_travis.json - ARDUINO_IDE_PATH=$HOME/IDE/arduino install: From 902115f948487d70b02a568f058213a858f3ddfb Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Thu, 19 Sep 2019 10:26:43 +0200 Subject: [PATCH 2/2] [CI] Specify core version Arduino 1.8.10 required a core version to be able to build. Signed-off-by: Frederic Pillon --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 71c41ba5b0..063ab9b8a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -54,9 +54,10 @@ matrix: - ./arduino --save-prefs --pref "boardsmanager.additional.urls=https://github.com/stm32duino/BoardManagerFiles/raw/dev/STM32/package_stm_index.json" # Install the latest core version - ./arduino --install-boards STM32:stm32 - - rm -fr $HOME/.arduino15/packages/STM32/hardware/stm32/* - # Replace default core with the one being built - - sudo ln -s $TRAVIS_BUILD_DIR $HOME/.arduino15/packages/STM32/hardware/stm32/* + # Replace default core with the one being built + - export CORE_VERSION=`ls $HOME/.arduino15/packages/STM32/hardware/stm32`; + rm -fr $HOME/.arduino15/packages/STM32/hardware/stm32/*; + sudo ln -s $TRAVIS_BUILD_DIR $HOME/.arduino15/packages/STM32/hardware/stm32/$CORE_VERSION before_script: - cd $TRAVIS_BUILD_DIR/CI/build/ - cp ./conf/path_config_travis.json ./path_config.json