Merge pull request #807 from keyboardio/travis/use-current-kaleidoscope

travis: Make sure we use the current Kaleidoscope
pull/814/head
Jesse Vincent 5 years ago committed by GitHub
commit 46998b3036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,12 +8,13 @@ addons:
packages: packages:
- shellcheck - shellcheck
install: install:
- git clone --depth 1 --recurse-submodules https://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio hardware/keyboardio - 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 delete the Bundle's version of Kaleidoscope, and symlink ourselves in.
## We do this to force Arduino to use the current one instead of the bundled version. ## This makes sure we're using the current version of the library.
- rm -f hardware/keyboardio/avr/libraries/Kaleidoscope/library.properties - rm -rf ../hardware/keyboardio/avr/libraries/Kaleidoscope
- ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
script: 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: notifications:
email: email:
on_success: change on_success: change

Loading…
Cancel
Save