Skip to content

Commit f66c974

Browse files
authored
Add automated cpplint testing of pull requests
Like TheAlgorithms/Python#218 but for C++. Enables Travis CI to run https://github.com/cpplint/cpplint on every pull request. The owner of the this repo would need to go to https://github.com/TheAlgorithms/C-Plus-Plus and kick off the first build to enable free automated flake8 testing of each pull request. Flake8 will find bugs and code smells. https://docs.travis-ci.com/user/languages/cpp/
1 parent a3ddfcd commit f66c974

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# https://docs.travis-ci.com/user/languages/cpp/
2+
language: cpp
3+
install: pip install cpplint
4+
script: cpplint .

0 commit comments

Comments
 (0)