Commit Graph

195 Commits

Author SHA1 Message Date
Dundar Göc
b30ac599f8 ci: remove all code containing python2
Also change all mentions of python 3 to just python.
2022-01-26 23:44:02 +01:00
Dundar Göc
16d64796f4 ci(windows): use the provided python from github actions
This will prevent future errors whenever support for a specific python
version we rely on is removed.
2022-01-26 16:40:43 +01:00
Dundar Göc
ec615abd1f ci: install flake8 with apt instead of pip 2022-01-03 21:54:23 +01:00
dundargoc
be255557ce
ci: simplify ci_fold function (#16874) 2022-01-03 11:47:11 -05:00
Dundar Göc
e71fbf2eb0 ci: remove unnecessary before_install script 2022-01-02 23:46:46 +01:00
Dundar Göc
64f23c27e2 ci: remove watchdog function run_tests_wd
It's only used once for running check-single-includes (which I strongly
suspect it doesn't need anyway), its core logic is incorrect since both the
variables "tempsize" and "prev_temsize" are never defined and parsing ps
is incredibly fragile.
2022-01-02 18:23:28 +01:00
dundargoc
f86039de1e
ci: remove outdated travis-specific code (#16869) 2022-01-01 12:42:26 -05:00
dundargoc
caa6992a10
chore: fix typos (#16361)
Co-authored-by: Brede Yabo Sherling Kristensen <bredeyabo@hotmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: István Donkó <istvan.donko@gmail.com>
Co-authored-by: Julian Berman <Julian@GrayVines.com>
Co-authored-by: bryant <bryant@users.noreply.github.com>
Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com>
Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com>
Co-authored-by: Leonhard Saam <leonhard.saam@yahoo.com>
Co-authored-by: Jesse Wertheim <jaawerth@gmail.com>
Co-authored-by: dm1try <me@dmitry.it>
Co-authored-by: Jakub Łuczyński <doubleloop@o2.pl>
Co-authored-by: Louis Lebrault <louis.lebrault@gmail.com>
Co-authored-by: Brede Yabo Sherling Kristensen <bredeyabo@hotmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: István Donkó <istvan.donko@gmail.com>
Co-authored-by: Julian Berman <Julian@GrayVines.com>
Co-authored-by: bryant <bryant@users.noreply.github.com>
Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com>
Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com>
Co-authored-by: Leonhard Saam <leonhard.saam@yahoo.com>
Co-authored-by: Jesse Wertheim <jaawerth@gmail.com>
Co-authored-by: dm1try <me@dmitry.it>
Co-authored-by: Jakub Łuczyński <doubleloop@o2.pl>
Co-authored-by: Louis Lebrault <louis.lebrault@gmail.com>
2021-11-27 11:10:48 -05:00
James McCoy
7126315935
fix(ci): use correct check for path-existence 2021-10-31 14:09:10 -04:00
James McCoy
ec0f4fab48
ci(win): only remove choco's cpack.exe if it exists 2021-10-31 09:41:10 -04:00
James McCoy
c84b86fe3d
ci: make sure choco cpack does not interfere with CMake cpack
[skip ci]
2021-10-30 14:02:04 -04:00
Jakub Łuczyński
035d82e0d3
build: update cmake min version to 3.10 #16065
* build(cmake): update cmake min version to 3.10
* ci: test cmake minimum required version
* build(cmake): remove some legacy includes
  * Since version 3.5 cmake_parse_arguments is implemented natively.
2021-10-19 19:19:33 -07:00
Christian Clason
f6c0a37b02
build(deps)!: use libuv 1.42.0 upstream for WIN32 (#15889)
Switch libuv from https://github.com/neovim/libuv fork to upstream for WIN32.
Upstream at 1.42.0 is now used for all platforms.

BREAKING CHANGE: removes Windows 7 support
BREAKING CHANGE: removes support for mouse and alternate buffers in TUI for
Windows 8 and 8.1
2021-10-05 17:23:42 +02:00
James McCoy
6a03bcc3c2
fix(test): Detect more core filenames 2021-04-08 08:13:39 -04:00
James McCoy
8f24199490
ci(gha/win): Do not rename python.exe to python3.exe if it exists
GHA now provides python3.exe by default -- actions/python-versions#78

Ensure Python 2 directory is earlier in $PATH so bare python always
invokes Python 2.
2021-02-05 22:39:10 -05:00
erw7
abdb2b4d29 GHA: fix build problems on Windows 2020-12-16 15:27:35 +09:00
Thomas Vigouroux
d7051705d0 ci: setup GitHub actions for windows 2020-12-16 13:12:14 +09:00
James McCoy
be9bd43502
ci: Only setup ipv6 on macOS for Travis 2020-11-24 21:26:03 -05:00
James McCoy
d93e397232
ci: s/TRAVIS_OS_NAME/CI_OS_NAME/ for non-Travis-specific code 2020-11-24 21:26:02 -05:00
James McCoy
80d1c4da5f
ci: Only try installing python-pynvim if Py2 pip is present 2020-11-23 08:43:37 -05:00
James McCoy
39b3eb34c2
ci: Install gem binaries to ~/.local/bin
That directory is already part of `$PATH`, so let's reuse it instead of
trying to figure what version-specific path binaries gem normally uses.
2020-11-14 17:23:35 -05:00
James McCoy
25a8385cd1
ci: Rename travis_fold to ci_fold and add GHA support 2020-11-13 13:38:12 -05:00
James McCoy
eb96bec4bb
ci/before_script.sh: Remove early exit for lint job
lualint requires building dependencies, so allow the job to take
advantage of the cache.
2020-11-13 13:36:58 -05:00
James McCoy
eb2aaed5cc
Add Linux ASAN GitHub Action 2020-11-13 13:36:56 -05:00
James McCoy
d0714e87d6
build: Rename TRAVIS_BUILD_DIR to CI_BUILD_DIR 2020-11-13 13:36:56 -05:00
erw7
29deb5dc31 ci/appveyor: change to update package database 2020-10-27 10:49:51 +09:00
Alex Genco
da3b59fc8e Install pre-release neovim gem in CI
The `ruby_eval` RPC message will be available in neovim-ruby
0.9.0.pre.*. That will become 0.9.0 once `rubyeval` is merged to neovim.

The `--version` argument isn't needed, as `gem` should pick the latest
release.
2020-10-21 10:20:21 -07:00
Justin M. Keyes
6abbc157af
Merge #12862 snap: multiarch, support luajit where possible 2020-09-07 21:43:13 -07:00
Carlos Hernandez
eae4b2a088
snap: migrate releases to snapcraft.io buils
Architectures supported by Travis due not match 1 to 1 to the
architectures supported by snapcraft.io and launchpad. To support as
many architectures as possible, deploys to the snap store should be done
via a simulated Github webhook. An additional secret will need to be
added to Travis-ci
2020-09-06 15:00:04 +00:00
Carlos Hernandez
1da67c1869 snap: drop snapcraft push release 2020-09-06 14:33:06 +00:00
James McCoy
2516386c6b
travis: Install clang-11 for ASAN/UBSAN job
[skip appveyor]
2020-09-04 10:59:16 -04:00
James McCoy
16e69eae70
travis: Relax pyenv versions to 2.7:3.8
We don't care about the specifics of the patch version, so just set the
major:minor.

[skip appveyor]
2020-09-04 10:59:15 -04:00
Carlos Hernandez
65b2fce787
snap: don't run snapcraft under sudo
Snapcraft 4.0 complains about running LXD builds under sudo.  So instead
add the CI user to the "lxd" group and use sg to switch to that
membership.

Resolves: #12712
2020-08-30 17:13:41 +00:00
erw7
6c6cee644d
ci: fix build failure in Travis [skip appveyor] (#12678) 2020-07-24 22:37:47 +02:00
Justin M. Keyes
1b42e95ece
ci/travis: Enable ipv6 #12182
ref: a39c8b7ce3
ref: bfe13ccc58

Also:
- Remove unused macos_rvm_dance() function. (It was there for reference,
  but we have since resolved (or gave up) on Travis + macOS + ruby.
2020-04-25 17:20:37 -07:00
James McCoy
cca301d939
Install pynvim with --user to avoid permission issues
[skip appveyor]
2020-03-18 23:52:22 -04:00
Jan Edmund Lazo
45b8dc0c3d
Revert "ci/Appveyor: install diffutils via scoop"
This reverts commit 4faf30de3e.
2020-03-07 23:14:42 -05:00
Björn Linse
00c57c98df treesitter: add standard &rtp/parser/ search path for parsers 2020-02-07 09:22:55 +01:00
Justin M. Keyes
1c3ca4f18f mksession: always unix slashes "/" for filepaths 2020-01-26 17:30:47 -08:00
Jan Edmund Lazo
b4e4ed844a
ci/Appveyor: respect -NoTest param
Skips nodejs and Neovim::Ext.
2020-01-20 19:49:51 -05:00
Jan Edmund Lazo
4faf30de3e
ci/Appveyor: install diffutils via scoop
scoop is a Windows package manager, similar to homebrew on OSX.
It is written on powershell, works in unelevated accounts,
is regularly maintained, and does not need mingw/msys2/cygwin
or WSL environments.
Sample use case is running (busybox) bash,
which can be installed via scoop via "scoop install busybox",
to use CI bash scripts in Appveyor.

Parts of scoop's directory can be cached to avoid downloads.
scoop modifies the registry for persistence environment variables
so scoop itself cannot be cached.
2020-01-20 19:43:59 -05:00
Jan Edmund Lazo
40cc5822b1
ci: install perl provider 2020-01-20 19:43:58 -05:00
KillTheMule
2c62b2fc56 build.ps1: add "-NoTests" param #11654 2020-01-02 05:52:18 -08:00
Jan Edmund Lazo
d53456c68f
ci: set nodejs version for tests outside fold 2019-12-31 22:22:56 -05:00
Jan Edmund Lazo
4bd51d8988
CI: set nodejs version to 10 on main scripts
nvm can run within a bash shell only.
2019-12-30 18:48:32 -05:00
Daniel Hahler
5c9063cf2d snap: fix line continuation #11475
reverts commit 5298169068.
2019-11-28 20:51:43 -08:00
Justin M. Keyes
c6d70d1786 snap: more yak-shaving
- generate decryption step
- skip job for PRs
- remove transfer.sh support
- deploy every (master) commit
2019-11-28 19:30:27 -08:00
Carlos Hernandez
8501e4a1ff snap: add snapcraft secrets to CI 2019-11-28 15:38:48 -08:00
Carlos Hernandez
6325ec90dc snap: add "snap" job to Travis CI 2019-11-28 15:38:40 -08:00
Daniel Hahler
629ea19994
deps: upgrade bundled LuaRocks: 2.4.4 => 3.2.1 (#10292)
Changelog: https://github.com/luarocks/luarocks/compare/v2.4.4..v3.2.1#diff-4ac32a78649ca5bdd8e0ba38b7006a1e
2019-11-19 19:10:30 +01:00