Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

Commit

Permalink
cpplint example
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasbjerre committed Mar 6, 2016
1 parent 3090da3 commit 2e00e0f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -7,6 +7,7 @@ jdk:
before_install:
- sudo apt-get install cppcheck
- sudo pip install flake8
- sudo pip install cpplint
before_script:
- npm install
script:
Expand Down
4 changes: 4 additions & 0 deletions build.sh
Expand Up @@ -14,5 +14,9 @@ mkdir -p build/reports/lint
#cppcheck --quiet --enable=all --force --inline-suppr --xml --xml-version=2 . 2> cppcheck-result.xml
#cd ..

#Cpplint
mkdir -p build/reports/cpplint
cpplint cpp/test.cpp > build/reports/cpplint/cpplint.txt 2>&1

#Flake8
flake8 python/project/file.py > build/flake8_2.txt

0 comments on commit 2e00e0f

Please sign in to comment.