diff options
| author | mitermayer <mitermayer.reis@gmail.com> | 2019-08-30 03:49:53 +0000 |
|---|---|---|
| committer | mitermayer <mitermayer.reis@gmail.com> | 2019-08-30 04:25:23 +0000 |
| commit | 8d95c918dd13e6b5eb4d7498db98aab6a5fe64a8 (patch) | |
| tree | e8287ae530cdc6a38d56b5d04bcbc4ea602ef0df | |
| parent | 9ba488cf1fa13951842a8937af38f3043c307fc7 (diff) | |
| download | vim-prettier-8d95c918dd13e6b5eb4d7498db98aab6a5fe64a8.tar.xz | |
enabling-tests-on-ci - Enabling tests as part of the CI run
- Ensuring we can run vim-driver tests on the CI
| -rw-r--r-- | .travis.yml | 1 | ||||
| -rw-r--r-- | Dockerfile | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 4ccc9b1..fa4a218 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,3 +9,4 @@ before_install: script: - docker run --rm -v $PWD:/testplugin -v $PWD/tests:/home "mitermayer/vim-test-bed" vint testplugin + - docker run --rm --entrypoint=/bin/bash -v $PWD:/testplugin -v $PWD/tests:/home "mitermayer/vim-test-bed" -s npm install && npm test @@ -1,5 +1,8 @@ FROM testbed/vim:latest +# set vim8 as default vim for the container image +ENV DEFAULT_VIM=vim8 + # install pip ENV PACKAGES="\ bash \ @@ -17,5 +20,8 @@ RUN install_vim -tag v7.4.052 -name vim7 -build \ -tag v8.1.0519 -name vim8 -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 + # install vint RUN pip install typing>=3.6.2 pathlib==1.0.1 enum34>=1.0.4 vim-vint==0.3.19 |
