306f0ace5f
- Remove support for python 3.2 to reduce number of test cases and because it actually fails with Neovim. It is not a supported version anyways. - Due to Neovim not handling fast typing through the console properly (https://github.com/neovim/neovim/issues/2454), the typing is actually simulated through the Python client. We need to differentiate now if a keystroke is meant for the terminal or for the Vim session. Using neovim.input() introduces additional chances for races since inputs are not buffered but processed right away. This results in more retries for some tests. - Neovim needs more parameters and configuration passed in through the test script. Added command line arguments for these. - Skip an extra test under Neovim due to https://github.com/neovim/python-client/issues/128.
22 lines
595 B
YAML
22 lines
595 B
YAML
language: python
|
|
|
|
python:
|
|
- 2.7
|
|
- 3.3
|
|
- 3.4
|
|
env:
|
|
- VIM_VERSION="74"
|
|
- VIM_VERSION="mercurial"
|
|
- VIM_VERSION="NEOVIM"
|
|
|
|
install:
|
|
# Some of these commands fail transiently. We keep retrying them until they succeed.
|
|
- until sudo add-apt-repository ppa:kalakris/tmux -y; do sleep 10; done
|
|
- until sudo add-apt-repository ppa:neovim-ppa/unstable -y; do sleep 10; done
|
|
- until sudo apt-get update -qq; do sleep 10; done
|
|
- until sudo apt-get install -qq -y --force-yes tmux xclip gdb neovim mercurial; do sleep 10; done
|
|
- ./travis_install.sh
|
|
|
|
script:
|
|
- ./travis_test.sh
|