We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b8d8fd commit ebf5b01Copy full SHA for ebf5b01
.travis.yml
@@ -13,7 +13,9 @@ addons:
13
- clang-3.8
14
- cmake-data
15
- cmake
16
+before_install:
17
+ - wget https://raw.githubusercontent.com/cpplint/cpplint/master/cpplint.py
18
script:
- - ./scripts.sh lint
19
+ - ./scripts.sh lintci
20
- ./scripts.sh install
21
- ./scripts.sh build
scripts.sh
@@ -18,6 +18,10 @@ function lint() {
cpplint --linelength=120 main.cpp tutorials/*/*/**
}
+function lintci() {
22
+ python cpplint.py --linelength=120 main.cpp tutorials/*/*/**
23
+}
24
+
25
if [ $1 = "install" ]
26
then
27
install
@@ -27,4 +31,7 @@ then
31
elif [ $1 = "lint" ]
28
32
29
33
lint
34
+elif [ $1 = "lintci" ]
35
+then
36
+ lintci
30
37
fi
0 commit comments