Skip to content

Commit cd9356d

Browse files
committed
travis to use bsp from git repo than release
1 parent 8f35e83 commit cd9356d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ install:
1919
- umake electronics arduino $HOME/arduino_ide
2020
- export PATH=$HOME/arduino_ide:$PATH
2121
- arduino --pref "boardsmanager.additional.urls=https://adafruit.github.io/arduino-board-index/package_adafruit_index.json" --save-prefs
22+
# Install BSP for tools, then remove and create symlink the git code
2223
- arduino --install-boards adafruit:nrf52
24+
- rm -r $HOME/.arduino15/packages/adafruit/hardware/nrf52
25+
- ln -s $TRAVIS_BUILD_DIR $HOME/.arduino15/packages/adafruit/hardware/nrf52
2326
- arduino --install-library "Adafruit NeoPixel","Adafruit NeoMatrix","Adafruit GFX Library","Adafruit SSD1306","MIDI Library",
2427

2528
before_script:

0 commit comments

Comments
 (0)