Commit Graph

25 Commits

Author SHA1 Message Date
Holger Rapp
01c4bde123 Remove travis caching and avoid rate limiting. (#962)
The caching only saves a few minutes and seems brittle.
2018-04-09 15:05:40 +02:00
Holger Rapp
411d0118ef Use a GitHub access token to avoid rate limiting of API. (#961)
This will not help pull requests, as they are considered untrusted by Travis. But at least master builds and pull requests from branches in this repo should not hit rate limiting now.
2018-04-09 12:51:34 +02:00
Holger Rapp
da6efc3e7d Rename scripts -> docker. Make repro more useful. 2018-04-05 21:52:33 +02:00
Holger Rapp
6ee724a1ce
Enable testing for python3 too. (#955)
This gives us back testing parity to before CI broke - and hooray, all tests still pass!
2018-04-01 20:50:03 +02:00
Holger Rapp
662e036028 Actually load the docker cache before executing tests. 2018-04-01 09:38:39 +02:00
Holger Rapp
539c557680
Move travis testing into docker for better consistency. (#950)
This now only tests python2 on Vim 7.4, 8.0 and git. No Neovim (that has been broken for a long time anyways) and no longer any python3 testing. But hey, we have green tests again!
2018-04-01 00:56:34 +02:00
Stanislav Seletskiy
7549874758 change mercurial to git 2016-09-07 19:51:30 +07:00
Holger Rapp
fde4a066c6 Disable Neovim tests, since they do not pass. 2015-10-11 22:28:10 +02:00
Holger Rapp
30ba8155a5 NEOVIM testing is just too flaky. Let's make it optional again. 2015-10-11 19:22:16 +02:00
Holger Rapp
e48d8a28e5 Rollback "Merge support for auto expand."
Due to performance degradation reported in #552.

This reverts commit 490430f91d, reversing
changes made to cf2c473a8e.
2015-08-21 07:38:34 +02:00
Holger Rapp
8c7ce88277 Allow neovim to fail for the moment. It is flaky on travis. 2015-08-17 08:30:55 +02:00
Holger Rapp
c68c9dd745 Add a webhook for gitter.im. 2015-07-18 22:53:41 +02:00
Holger Rapp
306f0ace5f Add a testing interface that works for Neovim.
- 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.
2015-07-14 21:58:30 +02:00
Holger Rapp
4f65a76542 Fix testing and test against more scenarios.
Before this, we only ever ran against system python preinstalled on
travis (i.e. 2.7 and 3.2). This change makes sure that Vim is always
build and run against the correct python version in the virtual env.
Also adds mercurial (HEAD) Vim as a testing target.
This patch took me forever to get right. At least 2 months and ~200
travis runs of trial and error - there is just too much finicky going on
with the many virtual envs on travis, Vims strange build system that
does not use python-config and LD_LIBRARY_PATH loading. En plus, the
debugging insights one can glance from travis runs are rather limited.

Detailed changes:
- Uses less sudo and only outside of scripts.
- Build correct version of Vim against correct version of Python. This
  needs some LD_LIBRARY_PATH magic to make sure that Vim finds the
  correct Python libraries at runtime.
- Removes dirty hack that overwrote /usr/bin/vim with the correct Vim
  version to run. The test_all.py script now takes the Vim binary as a
  parameter.
2015-07-03 21:52:50 +02:00
Holger Rapp
4ab4c1df4b Do not use --interface anymore. 2015-04-22 10:01:58 +02:00
Holger Rapp
99eede1bf6 Started to test py2 and py3 on travis now.
I also learned that Vim 7.3 does not seem to be working at all anymore.
Fixes a bug that only happens with python3.
2015-04-18 17:15:05 +02:00
Holger Rapp
cf23624c04 A usable travis configuration. 2015-02-14 15:31:34 +01:00
Holger Rapp
e112526550 More travis. 2015-02-14 15:26:10 +01:00
Holger Rapp
ad2c6d35ca Add travis badge and try running on python3 too. 2015-02-14 15:20:55 +01:00
Holger Rapp
db00408a11 More travis. 2015-02-14 15:07:41 +01:00
Holger Rapp
eb9adc50e3 More travis. 2015-02-14 15:05:04 +01:00
Holger Rapp
f47ec08ef2 More travis. 2015-02-14 15:02:24 +01:00
Holger Rapp
348dd4346d More travis. 2015-02-14 14:54:47 +01:00
Holger Rapp
c1aec63bd2 Typo in travis script. 2015-02-14 14:50:20 +01:00
Holger Rapp
35cdaba3ad A travis script. 2015-02-14 14:38:17 +01:00