|
|
|
@ -10,10 +10,11 @@ addons:
|
|
|
|
|
env:
|
|
|
|
|
global:
|
|
|
|
|
- LC_ALL: C
|
|
|
|
|
|
|
|
|
|
git:
|
|
|
|
|
quiet: true
|
|
|
|
|
before_install:
|
|
|
|
|
- ccache --set-config=compiler_check=content -M 5G -F 0
|
|
|
|
|
- ccache --set-config=compiler_check=content -M 1G -F 0
|
|
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
- git clone --depth 1 --recurse-submodules https://github.com/keyboardio/Kaleidoscope-Bundle-Keyboardio ../hardware/keyboardio
|
|
|
|
@ -23,7 +24,7 @@ install:
|
|
|
|
|
- ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
|
|
|
|
|
jobs:
|
|
|
|
|
include:
|
|
|
|
|
- env: TEST_TARGET=travis-smoke-examples
|
|
|
|
|
- env: TEST_TARGET=smoke-sketches
|
|
|
|
|
- env: TEST_TARGET=travis-simulator-tests
|
|
|
|
|
- env: TEST_TARGET=cpplint
|
|
|
|
|
- env: TEST_TARGET=find-filename-conflicts
|
|
|
|
@ -31,7 +32,12 @@ jobs:
|
|
|
|
|
- env: TEST_TARGET=travis-check-astyle
|
|
|
|
|
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"
|
|
|
|
|
- export KALEIDOSCOPE_TEMP_PATH=$(TRAVIS_BUILD_DIR)/.kaleidoscope-build-cache
|
|
|
|
|
- export BOARD_HARDWARE_PATH=$(TRAVIS_BUILD_DIR)/../hardware
|
|
|
|
|
- export ARDUINO_PATH=$(TRAVIS_BUILD_DIR)/arduino-1.8.13
|
|
|
|
|
- make adjust-git-timestamps
|
|
|
|
|
- make travis-install-arduino
|
|
|
|
|
- make -j 4 $TEST_TARGET
|
|
|
|
|
notifications:
|
|
|
|
|
email:
|
|
|
|
|
on_success: change
|
|
|
|
|