From bd8e7a6fa00c7e46c20be4236d4032e6c21dbdf9 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Tue, 5 Nov 2019 17:56:51 +0100 Subject: [PATCH] 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 --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 554f8afb..0dad7225 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,13 +9,16 @@ 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: email: on_success: change on_failure: change -cache: +cache: ccache: true directories: - .kaleidoscope-build-cache