From 09a3735a989f68ff71c25b6a958fea3a248bc43e Mon Sep 17 00:00:00 2001 From: mitermayer Date: Fri, 30 Aug 2019 07:06:32 +0000 Subject: enabling-tests-to-auto-run-on-ci - fixing test execution run - fix test execution command and docker image ref --- Dockerfile | 9 +-------- run-test | 2 -- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 50fb9cd..002cea3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,5 @@ FROM testbed/vim:latest -# set vim8 as default vim for the container image -ENV DEFAULT_VIM=vim8 - # install pip ENV PACKAGES="\ bash \ @@ -17,12 +14,8 @@ RUN apk --update add $PACKAGES && \ # install supported vim8 and neovim RUN install_vim -tag v7.4.052 -name vim7 -build \ - -tag v8.1.0519 -name vim8 -build \ + -tag v8.1.0519 -name vim -build \ -tag neovim:v0.3.5 -name neovim -build - -# alias vim to allow contextual load -RUN echo 'alias vim="/sbin/run_vim $DEFAULT_VIM"' >> ~/.bashrc - # upgrade node and yarn RUN npm install -g npm yarn diff --git a/run-test b/run-test index 5fde834..6692b75 100755 --- a/run-test +++ b/run-test @@ -11,9 +11,7 @@ docker run \ echo "Running tests..." docker run \ --rm \ - --entrypoint=/bin/bash \ -v $PWD:/testplugin \ -v $PWD/tests:/home \ "mitermayer/vim-test-bed" \ - -s vim --version && yarn test -- cgit v1.3