aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2019-08-30 07:06:32 +0000
committermitermayer <mitermayer.reis@gmail.com>2019-08-30 07:06:32 +0000
commit09a3735a989f68ff71c25b6a958fea3a248bc43e (patch)
tree1d6c4c3b682f46789bdf19c387c8d52081ff0112
parent18b706fe8684fa472c879dca3a7964845e48258b (diff)
downloadvim-prettier-09a3735a989f68ff71c25b6a958fea3a248bc43e.tar.xz
enabling-tests-to-auto-run-on-ci - fixing test execution run
- fix test execution command and docker image ref
-rw-r--r--Dockerfile9
-rwxr-xr-xrun-test2
2 files changed, 1 insertions, 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