diff --git a/.travis.yml b/.travis.yml index 0dad7225..8d6e09c4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,10 @@ 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 +## We delete the Bundle's version of Kaleidoscope, and symlink ourselves in. +## This makes sure we're using the current version of the library. + - rm -rf hardware/keyboardio/avr/libraries/Kaleidoscope + - ln -s $(pwd) hardware/keyboardio/avr/libraries/Kaleidoscope script: - make travis-test KALEIDOSCOPE_TEMP_PATH=$(pwd)/.kaleidoscope-build-cache BOARD_HARDWARE_PATH=$(pwd)/hardware notifications: