|
|
|
@ -8,12 +8,13 @@ addons:
|
|
|
|
|
packages:
|
|
|
|
|
- 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
|
|
|
|
|
- git clone --depth 1 --recurse-submodules https://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio ../hardware/keyboardio
|
|
|
|
|
## 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
|
|
|
|
|
- make travis-test KALEIDOSCOPE_TEMP_PATH=$(pwd)/.kaleidoscope-build-cache BOARD_HARDWARE_PATH=$(pwd)/../hardware
|
|
|
|
|
notifications:
|
|
|
|
|
email:
|
|
|
|
|
on_success: change
|
|
|
|
|