File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,10 @@ matrix:
54
54
- ./arduino --save-prefs --pref "boardsmanager.additional.urls=https://github.com/stm32duino/BoardManagerFiles/raw/dev/STM32/package_stm_index.json"
55
55
# Install the latest core version
56
56
- ./arduino --install-boards STM32:stm32
57
- - rm -fr $HOME/.arduino15/packages/STM32/hardware/stm32/*
58
- # Replace default core with the one being built
59
- - sudo ln -s $TRAVIS_BUILD_DIR $HOME/.arduino15/packages/STM32/hardware/stm32/*
57
+ # Replace default core with the one being built
58
+ - export CORE_VERSION=`ls $HOME/.arduino15/packages/STM32/hardware/stm32`;
59
+ rm -fr $HOME/.arduino15/packages/STM32/hardware/stm32/*;
60
+ sudo ln -s $TRAVIS_BUILD_DIR $HOME/.arduino15/packages/STM32/hardware/stm32/$CORE_VERSION
60
61
before_script :
61
62
- cd $TRAVIS_BUILD_DIR/CI/build/
62
63
- cp ./conf/path_config_travis.json ./path_config.json
You can’t perform that action at this time.
0 commit comments