File tree Expand file tree Collapse file tree 4 files changed +16
-9
lines changed Expand file tree Collapse file tree 4 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 1010
1111# test: build the base image and example image on top, running tests therein.
1212DOCKER_BASE_IMAGE: =vim-testbed-base
13- test :
13+
14+ test test_quick :
1415 docker build -t " $( DOCKER_BASE_IMAGE) " .
15- make -C example test
16+ make -C example $<
17+
18+ .PHONY : build push test test_quick
Original file line number Diff line number Diff line change 11FROM testbed/vim
22
3- RUN install_vim -tag v7.1 -name vim71 -build \
4- -tag v7.3.429 -name vim73 -py -build \
3+ RUN install_vim -tag v7.3.429 -name vim73 -py -build \
54 -tag v7.4.052 -name vim74-trusty -build \
65 -tag master -py2 -py3 -ruby -lua -build \
76 -tag neovim:v0.2.0 -py2 -py3 -ruby -build \
Original file line number Diff line number Diff line change 1+ # Dockerfile for quick tests.
2+ FROM vim-testbed-base
3+
4+ RUN install_vim -tag v7.1 -name vim71 -build
Original file line number Diff line number Diff line change @@ -12,7 +12,11 @@ DOCKER = docker run -a stderr --rm \
1212 -v $(WRITABLE_HOME ) :/home/vimtest \
1313 -v $(CURDIR ) /$(PLUGINS ) :/home/vimtest/plugins "$(IMAGE ) "
1414
15- test : test-setup
15+ test_quick :
16+ docker build -f Dockerfile.quicktests -t " $( IMAGE) " .
17+ $(DOCKER ) vim71 ' +Vader! test/*'
18+
19+ test : Dockerfile.tests $(PLUGINS ) /vader.vim
1620 docker build -f Dockerfile.tests -t " $( IMAGE) " .
1721 set -ex; \
1822 vims=" $$ (docker run --rm $( IMAGE) ls /vim-build/bin | grep vim)" ; \
@@ -68,9 +72,6 @@ test: test-setup
6872 exit 1; \
6973 fi ;
7074
71- test-setup : Dockerfile.tests $(PLUGINS ) /vader.vim
72- docker images -q $(IMAGE ) || docker pull $(IMAGE )
73-
7475Dockerfile.tests : Dockerfile
7576 ( echo ' # Autogenerated Dockerfile for tests.' ; \
7677 echo ' # Edit with care (generated from updates to Dockerfile).' ; \
@@ -80,4 +81,4 @@ $(PLUGINS)/vader.vim:
8081 mkdir -p $(PLUGINS )
8182 cd $(PLUGINS ) && git clone https://github.com/junegunn/vader.vim.git
8283
83- .PHONY : test-setup test
84+ .PHONY : test
You can’t perform that action at this time.
0 commit comments