Commit e313373 1 parent 210d464 commit e313373 Copy full SHA for e313373
File tree 3 files changed +9
-5
lines changed
3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,4 @@ cache: pip
8
8
install : |
9
9
pip install vim-vint==0.3.9
10
10
script : |
11
- EXIT=0
12
- vint -s || EXIT=$?
13
- make test || EXIT=$?
14
- exit $EXIT
11
+ make test
Original file line number Diff line number Diff line change @@ -5,9 +5,13 @@ RUN install_vim -tag v8.0.0000 -build \
5
5
6
6
ENV PACKAGES="\
7
7
git \
8
+ python=2.7.12-r0 \
9
+ py-pip=8.1.2-r0 \
8
10
"
9
11
RUN apk --update add $PACKAGES && \
10
12
rm -rf /var/cache/apk/* /tmp/* /var/tmp/*
11
13
14
+ RUN pip install vim-vint==0.3.9
15
+
12
16
RUN git clone https://github.com/junegunn/vader.vim vader && \
13
17
cd vader && git checkout c6243dd81c98350df4dec608fa972df98fa2a3af
Original file line number Diff line number Diff line change @@ -7,8 +7,11 @@ test-setup:
7
7
test : test-setup
8
8
vims=$$(docker run --rm $(IMAGE ) ls /vim-build/bin | grep -E '^n?vim' ) ; \
9
9
if [ -z " $$ vims" ]; then echo " No Vims found!" ; exit 1; fi ; \
10
+ EXIT=0
10
11
for vim in $$ vims; do \
11
- $(DOCKER ) $$ vim ' +Vader! test/*' ; \
12
+ $(DOCKER ) $$ vim ' +Vader! test/*' || EXIT= $$? ; \
12
13
done
14
+ vint -s . || EXIT=$$?
15
+ exit $$ EXIT
13
16
14
17
.PHONY : test-setup test
You can’t perform that action at this time.
0 commit comments