travis: Move the hardware dir one level up

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

@ -8,13 +8,13 @@ addons:
packages:
- shellcheck
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 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
- 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

Loading…
Cancel
Save