1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/.travis.yml
2022-09-20 11:24:12 +02:00

20 lines
603 B
YAML

sudo: required
language: minimal
before_install:
- sudo apt-get install coreutils cppcheck pcregrep python3 python3-pip uncrustify
- sudo pip3 install flake8
notifications:
email:
recipients:
- maintainer@riot-os.org
on_success: change
on_failure: always
script:
- ./RIOT/dist/tools/whitespacecheck/check.sh
- find . -path ./RIOT -prune -o -name *.py -exec python3 -m flake8 --config=./RIOT/dist/tools/flake8/flake8.cfg {} +
- find . -path ./RIOT -prune -o \( -name *.c -o -name *.h \) -exec cppcheck --std=c99 --enable=style --force --error-exitcode=2 --quiet -j 1 {} +