travis: Force Arduino to use the current copy of Kaleidoscope

While we made attempts at forcing Arduino to use the current copy (that's what
all the `current-libraries` stuff are), it apparently doesn't work anymore. As a
quick workaround, delete the bundled Kaleidoscope's `library.properties`, so
Arduino won't find it, and will use the current one instead.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/711/head
Gergely Nagy 5 years ago
parent 10537e7f35
commit bd8e7a6fa0
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -9,6 +9,9 @@ addons:
- shellcheck
install:
- git clone --depth 1 --recurse-submodules https://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio hardware/keyboardio
## We delete the library.properties of the Bundle's Kaleidoscope.
## We do this to force Arduino to use the current one instead of the bundled version.
- rm -f hardware/keyboardio/avr/libraries/Kaleidoscope/library.properties
script:
- make travis-test KALEIDOSCOPE_TEMP_PATH=$(pwd)/.kaleidoscope-build-cache BOARD_HARDWARE_PATH=$(pwd)/hardware
notifications:

Loading…
Cancel
Save