File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed
Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ language : python
2+
3+ cache :
4+ pip : true
5+
6+ env :
7+ matrix :
8+ - LINT=vimlint-errors
9+ - LINT=vimlint
10+ - LINT=vint-errors
11+ - LINT=vint
12+
13+ matrix :
14+ allow_failures :
15+ - env : LINT=vimlint
16+ - env : LINT=vint
17+
18+ install :
19+ - |
20+ if [ "${LINT#vimlint}" != "$LINT" ]; then
21+ git clone --depth=1 https://github.com/syngan/vim-vimlint /tmp/vimlint
22+ git clone --depth=1 https://github.com/ynkdir/vim-vimlparser /tmp/vimlparser
23+ elif [ "${LINT#vint}" != "$LINT" ]; then
24+ virtualenv /tmp/vint && source /tmp/vint/bin/activate && pip install vim-vint
25+ fi
26+ script :
27+ - |
28+ if [ "$LINT" = "vimlint" ]; then
29+ sh /tmp/vimlint/bin/vimlint.sh -l /tmp/vimlint -p /tmp/vimlparser .
30+ elif [ "$LINT" = "vimlint-errors" ]; then
31+ sh /tmp/vimlint/bin/vimlint.sh -E -l /tmp/vimlint -p /tmp/vimlparser .
32+ elif [ "$LINT" = "vint" ]; then
33+ vint .
34+ elif [ "$LINT" = "vint-errors" ]; then
35+ vint .
36+ fi
Original file line number Diff line number Diff line change 1+ cmdargs :
2+ # Checking more strictly
3+ severity : style_problem
4+
5+ # Enable coloring
6+ color : true
7+
8+ policies :
9+ ProhibitImplicitScopeVariable :
10+ enabled : false
You can’t perform that action at this time.
0 commit comments