Skip to content

Commit

Permalink
Merge pull request RIOT-OS/applications#48 from smlng/pr/travis
Browse files Browse the repository at this point in the history
CI: add travis config
  • Loading branch information
miri64 authored Jan 8, 2019
2 parents bd1e557 + 0d63000 commit 1dcc7f8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .travis.yml
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 {} +
2 changes: 1 addition & 1 deletion RIOT
Submodule RIOT updated 2122 files

0 comments on commit 1dcc7f8

Please sign in to comment.