forked from RIOT-OS/RIOT
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request RIOT-OS/applications#48 from smlng/pr/travis
CI: add travis config
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
sudo: required | ||
|
||
language: minimal | ||
|
||
before_install: | ||
- sudo apt-get install coreutils cppcheck pcregrep python3 python3-pip uncrustify | ||
- sudo pip3 install flake8 | ||
|
||
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 {} + |
Submodule RIOT
updated
2122 files