You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kaleidoscope/.travis.yml

38 lines
976 B

dist: focal
sudo: false
language: c
os:
- linux
addons:
apt:
packages:
- shellcheck
- cmake
env:
global:
- LC_ALL: C
git:
quiet: true
before-install:
- ccache --set-config=compiler_check=content -M 5G -F 0
install:
- 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:
- unset CC
- make $TEST_TARGET KALEIDOSCOPE_TEMP_PATH=$(pwd)/.kaleidoscope-build-cache BOARD_HARDWARE_PATH=$(pwd)/../hardware ARDUINO_PATH="$(pwd)/arduino-1.8.13"
notifications:
email:
on_success: change
on_failure: change
cache:
apt: true
ccache: true
directories:
- .ccache
- .download-cache