Commit graph

17 commits

Author SHA1 Message Date
Horacio Sanson
bafe1c0fd6
3560 add vim 8.2 and nvim 0.4 to ci tests (#3561)
* Add vim82 and neovim04 to CI tests.

* Fix test_sign_column_hightlighting test.

In vim82 with verbose=1 the output of highlight command changes breaking
the ale#sign#SetUpDefaultColumnWithoutErrorsHighlight(). This commit
forces verbose=0 when the method starts and restores the previous value
before exiting.

* No return values in vim82 returns a numeric value instead of a empty string.

* Fix test_reek_handler test

The FuzzyJSONDecode() method catches E474 when it fails to parse the
input as JSON but Vim8.2 throws E491 instead. This commit modifies the
function to catch both E474 or E491.

* Fix perl6 handler test.

Perl6 handler catches json parse errors using the E474 error but in
Vim82 it changed to E491. This commit modifies the handler so both
errors are considered.

* Fix list opening tests.

In Vim 8.2 the call `range(1, bufnr('$'))` always returns quickfix
buffers no matter if they are closed or not. Using `ls` does not show
them but the above range will always include them.

This new behavior breaks the ale#list#IsQuickfixOpen() method that in
turn breaks many other things. This commit fixes this by using the
getqflist() and getloclist() methods instead.

* Fix test updates loclist test.

For some reason in Vim 8.2 the sign offset seems to not reset between
tests causing the sign_id to not match in the Assert. When the test is
run individually it passes but when run as part of the whole suite the
sign_id is off by one.

Forcing the offset in the test setup seems to fix the issue.

* Fix omnifunc completion test.

For unknown reasons the SetCompletionResponse tests fail in Neovim 0.2
and 0.4. Unfortunatelly the only solution I found is to disable them
for neovim.

* Fix linter warnings

* Fix smoker test.

Add vim 8.2 to the list of versions that need some retires due to
randomly failing tests.

* Add docker image build job.

Trying some clever trick to build the docker image if not available
locally or in Docker hub. It uses the Dockerfile md5 checksum as tag so
only when changes on that file occur will the image be downloaded or
build.

* Add labels to Docker image

* Remove tests for middle versions 8.1 and 0.3.5

* Use same vader commit as appveyor

* Implement image push to Docker Hub

Co-authored-by: Horacio Sanson <horacio@allm.inc>
2021-01-27 19:52:24 +00:00
Kevin Clark
99f1874e86 Add non-busybox grep/sed to Dockerfile
Tests need extended regexes from sed and --exclude from grep.
2020-11-28 07:51:02 -08:00
w0rp
8c76b88392
Update the Dockerfile with newer Vim versions 2019-05-16 21:36:05 +01:00
Reed Riley
46c743a247 Updated Vim version in Dockerfile and made UpdateTagStack clearer
The `settagstack` and `gettagstack` functions don't exist prior to Vim
8.1.0519.  And the function definition was unclear whether it intended
  to grab the *old* or the *new* file/line/col.
2019-04-24 09:58:13 -04:00
w0rp
0e71e8b465
Update the Dockerfile to test with a newer version of Vimt too 2018-07-22 22:35:49 +01:00
w0rp
d581fca35e
Get tests running and passing with NeoVim 0.2 and 0.3 2018-06-28 13:53:49 +01:00
w0rp
8b407ed0e7
Try NeoVim 0.2.1, as 0.2.0 is way too slow 2018-06-28 12:07:22 +01:00
w0rp
51a14a4ba8
Update Dockerfile to test NeoVim 0.2 and 0.3, with a newer Vint version 2018-06-28 11:29:20 +01:00
w0rp
2f96f26038 Update the Dockerfile for experimenting with NeoVim testing 2017-05-11 08:32:45 +01:00
w0rp
22307ccabc Add g++ to the Dockerfile 2017-04-03 21:57:24 +01:00
w0rp
e7aa079982 Add Bash to the Dockerfile, which no longer comes with vim-testbed by default 2017-04-02 22:44:36 +01:00
w0rp
bfc16ed2ec Allow for any current Python2 and PIP versions in the Docker build 2017-04-02 22:21:19 +01:00
w0rp
e24f9d263c Make the Dockerfile build again 2017-04-02 21:41:53 +01:00
w0rp
480c8504a6 Add C and C++ tools to the Dockerfile 2017-04-02 21:29:06 +01:00
w0rp
29271f3477 Add eslint to the Dockerfile. 2016-10-13 23:53:17 +01:00
Prashanth Chandra
9a0a663dc1 Move vint to Docker 2016-10-12 20:13:34 +08:00
Prashanth Chandra
210d464442 Use vim-testbed to run Vader tests on Travis 2016-10-12 18:59:18 +08:00