travis: Run cpplint as part of our tests, too.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/911/head
Gergely Nagy 4 years ago
parent f870bde2fc
commit 942e585c2b
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -19,6 +19,7 @@ install:
- ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope - ln -s $(pwd) ../hardware/keyboardio/avr/libraries/Kaleidoscope
script: script:
- unset CC - unset CC
- make cpplint BOARD_HARDWARE_PATH=$(pwd)/../hardware
- make travis-install-arduino BOARD_HARDWARE_PATH=$(pwd)/../hardware - make travis-install-arduino BOARD_HARDWARE_PATH=$(pwd)/../hardware
- (cd ../hardware/keyboardio && make prepare-virtual) - (cd ../hardware/keyboardio && make prepare-virtual)
- make -C tests all BOARD_HARDWARE_PATH=$(pwd)/../hardware ARDUINO_PATH="$(pwd)/arduino-1.8.13" - make -C tests all BOARD_HARDWARE_PATH=$(pwd)/../hardware ARDUINO_PATH="$(pwd)/arduino-1.8.13"

Loading…
Cancel
Save