diff --git a/.travis.yml b/.travis.yml index 11adf95d..0426ead1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,4 @@ cache: pip install: | pip install vim-vint==0.3.9 script: | - EXIT=0 - vint -s || EXIT=$? - make test || EXIT=$? - exit $EXIT + make test diff --git a/Dockerfile b/Dockerfile index 2944bbad..7ef5e77c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,13 @@ RUN install_vim -tag v8.0.0000 -build \ ENV PACKAGES="\ git \ + python=2.7.12-r0 \ + py-pip=8.1.2-r0 \ " RUN apk --update add $PACKAGES && \ rm -rf /var/cache/apk/* /tmp/* /var/tmp/* +RUN pip install vim-vint==0.3.9 + RUN git clone https://github.com/junegunn/vader.vim vader && \ cd vader && git checkout c6243dd81c98350df4dec608fa972df98fa2a3af diff --git a/Makefile b/Makefile index 292f20bd..b0bbf3ee 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,11 @@ test-setup: test: test-setup vims=$$(docker run --rm $(IMAGE) ls /vim-build/bin | grep -E '^n?vim'); \ if [ -z "$$vims" ]; then echo "No Vims found!"; exit 1; fi; \ + EXIT=0; \ for vim in $$vims; do \ - $(DOCKER) $$vim '+Vader! test/*'; \ - done + $(DOCKER) $$vim '+Vader! test/*' || EXIT=$$?; \ + done; \ + $(DOCKER) vint -s /testplugin || EXIT=$$?; \ + exit $$EXIT; .PHONY: test-setup test