aboutsummaryrefslogtreecommitdiff
path: root/ci/install.sh
Commit message (Collapse)AuthorAge
* ci: delete ci/ (#22227)dundargoc2023-02-12
| | | | | | | | | | | | | | | | | | | | | | | | Having CI scripts that is separate from the build system causes tremendous amounts of problems, headaches and bugs. Testing the validity of the scripts locally become near impossible as time goes on as they're only vetted if it works on whatever CI provider we happened to have at the time, with their own quirks and behavior. The extra indirection between "cmake <-> general CI scripts <-> GHA" is also a frequent source of problems, as the orchestration needs to be done with environment variables, cmake flags and github actions matrix strategy. This combination has turned out to be exceptionally fragile. Examples: https://github.com/neovim/neovim/commit/15394b6855c3b17be06bf2bfbac7797d9c3ebf1d https://github.com/neovim/neovim/commit/13aa23b62af4df3e7f10687b76fe8c04efa2a598 https://github.com/neovim/neovim/pull/22072#discussion_r1094390713 A lot of the code was inlined to .github/workflows/ci.yml without further modifications. While this in itself doesn't integrate with our build system any more than the current situation, it does 1. remove a level of indirection, and more importantly 2. allow us to slowly start integrating the CI into our build system now that all the relevant code is in one place.
* ci: simplify how environment variables are used (#22067)dundargoc2023-02-07
| | | | Having a clear separation between when we manipulate variables and when we export them to GITHUB_ENV makes it less error-prone.
* ci: use python3 explicitly to fix macos warnings #18837kylo2522022-06-03
| | | | | | > DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020 Testing `pynvim` compatibility with python2 should not be done in core, and there's only a provider_spec for python3 either way.
* ci(provider): skip installing perl provider on macOSDundar Goc2022-06-01
| | | | | The macOS CI jobs fail to properly install the perl provider, making the entire thing fail.
* ci: remove all code containing python2Dundar Göc2022-01-26
| | | | Also change all mentions of python 3 to just python.
* ci: install flake8 with apt instead of pipDundar Göc2022-01-03
|
* ci: remove unnecessary before_install scriptDundar Göc2022-01-02
|
* ci: remove outdated travis-specific code (#16869)dundargoc2022-01-01
|
* ci: Only try installing python-pynvim if Py2 pip is presentJames McCoy2020-11-23
|
* ci: Install gem binaries to ~/.local/binJames McCoy2020-11-14
| | | | | 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.
* Add Linux ASAN GitHub ActionJames McCoy2020-11-13
|
* Install pre-release neovim gem in CIAlex Genco2020-10-21
| | | | | | | | 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.
* Install pynvim with --user to avoid permission issuesJames McCoy2020-03-18
| | | | [skip appveyor]
* treesitter: add standard &rtp/parser/ search path for parsersBjörn Linse2020-02-07
|
* ci: install perl providerJan Edmund Lazo2020-01-20
|
* CI: set nodejs version to 10 on main scriptsJan Edmund Lazo2019-12-30
| | | | nvm can run within a bash shell only.
* ci: use python3 for flake8Jan Edmund Lazo2019-10-26
| | | | 'make pylint' fails if flake8 runs on python2.
* ci: simplify tree-sitter-cli installJan Edmund Lazo2019-10-25
| | | | | Remove useless `npm link` for tree-sitter-cli. Use powershell builtins.
* ci/install.sh: pin treesitter to v0.15.9 #11266Hirokazu Hata2019-10-20
| | | | | When "tree-sitter test" is executed, query test is also executed, but "tree-sitter-c" does not have query test yet, so cli version that does not include query test execution To use. ref https://github.com/tree-sitter/tree-sitter/commit/e14e285a1087264a8c74a7c62fcaecc49db9d904
* lintDaniel Hahler2019-10-06
|
* tree-sitter: add basic testing on ciBjörn Linse2019-09-28
| | | | build tree-sitter c parser on ci for testing purposes
* ci/travis: install pynvim outside of $HOMEJan Edmund Lazo2019-09-14
| | | | | This runs the python tests on Travis. WIP: skip failing python tests
* ci: pylint target via flake8Daniel Hahler2019-07-29
| | | | Ref: https://github.com/neovim/neovim/pull/10631#issuecomment-515756591
* CI: use -m to invoke pip #10275Daniel Hahler2019-06-19
| | | | | Also install "pynvim" instead of "neovim". Ref: https://github.com/neovim/neovim/pull/10228#discussion_r295266859
* ci: Travis: simplify/improve Python/pip setup (#10228)Daniel Hahler2019-06-18
| | | | | | | | | | | | * ci/before_install.sh: do not (try to) upgrade pip It is not necessary usually (for our use case(s)), and rather good to have this (implicitly) pinned. * Simplify/improve Python info output * Use pyenv-global to activate/use Python 2.7/7.7 * simplify pip-install of neovim, also for osx
* ci: install neovim gem on macOSJan Edmund Lazo2018-12-27
| | | | High Sierra has ruby 2.3 preinstalled so neovim gem should work.
* ci: use homebrew addon to simplify shell scriptsJan Edmund Lazo2018-12-26
|
* travis: switch from Ubuntu 14.04 to 16.04Marco Hinz2018-11-24
| | | | | | | | | | | | Travis is phasing out its support for containers, so we remove the `sudo: false`, which will be a no-op soon. Reference: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration Changes for Linux: - Xenial comes with libtool installed already. It only provides "libtoolize", though. For "libtool" we need to install libtool-bin.
* CI/Travis/macOS: Fix "brew reinstall" invocation (#9259)Justin M. Keyes2018-11-20
| | | | | | | | "-s" is "--build-from-source", an option to `brew install`. This was never a documented option per `brew help reinstall`. It's not clear why we were using this option, but it now fails the CI build. ref https://github.com/Homebrew/brew/pull/5274 ref https://github.com/Homebrew/brew/issues/1656
* CI/travis/macOS: fix missing pip3Justin M. Keyes2018-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | homebrew or Travis changed something, now `pip3` isn't in $PATH. `ls /usr/local/opt/python/libexec/bin` confirmed this, no matter what brew reinstall/relink/upgrade are used. Bumping the macOS image to 10.12 or 10.13 makes the problem go away. ==> Processing gcc49 formula rename to gcc@4.9 ==> Unlinking gcc49 ==> Moving gcc49 versions to /usr/local/Cellar/gcc@4.9 ==> Relinking gcc@4.9 Warning: gcc@4.9 is outdated! To avoid broken installations, as soon as possible please run: brew upgrade Or, if you're OK with a less reliable fix: brew upgrade gcc@4.9 python info: Python 2.7.12 Python 2.7.12 ci/before_install.sh: line 18: python3: command not found pip 8.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7) pip 8.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7) ci/before_install.sh: line 21: pip3: command not found pyenv versions: * system (set by /Users/travis/.pyenv/version) Upgrade Python 3. To restore the stashed changes to /usr/local/Homebrew run: 'cd /usr/local/Homebrew && git stash pop' ==> Caveats Python has been installed as /usr/local/bin/python3 Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to `python3`, `python3-config`, `pip3` etc., respectively, have been installed into /usr/local/opt/python/libexec/bin If you need Homebrew's Python 2.7 run brew install python@2 Pip, setuptools, and wheel have been installed. To update them run pip3 install --upgrade pip setuptools wheel You can install Python packages with pip3 install <package> They will install into the site-package directory /usr/local/lib/python3.7/site-packages See: https://docs.brew.sh/Homebrew-and-Python ==> Summary º /usr/local/Cellar/python/3.7.0: 8,864 files, 153.8MB, built in 6 minutes 32 seconds ... Upgrade Python 3 pip. ci/before_install.sh: line 30: pip3: command not found travis_time:end:0d23f522:start=1538818824750644000,finish=1538819451424021000,duration=626673377000 The command "ci/before_install.sh" failed and exited with 127 during . Your build has been stopped. /Users/travis/.travis/job_stages: line 373: shell_session_update: command not found ==> Processing gcc49 formula rename to gcc@4.9 ==> Unlinking gcc49 ==> Moving gcc49 versions to /usr/local/Cellar/gcc@4.9 ==> Relinking gcc@4.9 Warning: gcc@4.9 is outdated! To avoid broken installations, as soon as possible please run: brew upgrade Or, if you're OK with a less reliable fix: brew upgrade gcc@4.9 python info: Python 2.7.12 Python 2.7.12 ci/before_install.sh: line 18: python3: command not found pip 8.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7) pip 8.1.2 from /usr/local/lib/python2.7/site-packages (python 2.7) ci/before_install.sh: line 21: pip3: command not found pyenv versions: * system (set by /Users/travis/.pyenv/version) Upgrade Python 3. To restore the stashed changes to /usr/local/Homebrew run: 'cd /usr/local/Homebrew && git stash pop' ==> Caveats Python has been installed as /usr/local/bin/python3 Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to `python3`, `python3-config`, `pip3` etc., respectively, have been installed into /usr/local/opt/python/libexec/bin If you need Homebrew's Python 2.7 run brew install python@2 Pip, setuptools, and wheel have been installed. To update them run pip3 install --upgrade pip setuptools wheel You can install Python packages with pip3 install <package> They will install into the site-package directory /usr/local/lib/python3.7/site-packages See: https://docs.brew.sh/Homebrew-and-Python ==> Summary º /usr/local/Cellar/python/3.7.0: 8,864 files, 153.8MB, built in 6 minutes 32 seconds ... Upgrade Python 3 pip. ci/before_install.sh: line 30: pip3: command not found travis_time:end:0d23f522:start=1538818824750644000,finish=1538819451424021000,duration=626673377000 The command "ci/before_install.sh" failed and exited with 127 during . Your build has been stopped. /Users/travis/.travis/job_stages: line 373: shell_session_update: command not found
* test: give more time for nodejsJan Edmund Lazo2018-06-04
| | | | | | Link neovim package to project root directory. Increase delay to 3 seconds. Reduce the total lines in temporary node scripts.
* travis: Enable ccacheJames McCoy2018-05-01
|
* ci/macOS: skip python2 on travis macOSJustin M. Keyes2018-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | macOS travis builds recently started failing (travis caches were cleared recently, maybe related). python2 is reasonably covered by linux CI. Not going to waste time on it for macOS CI. ==> Installing python@2 ==> Downloading https://homebrew.bintray.com/bottles/python@2-2.7.14_3.el_capita ==> Pouring python@2-2.7.14_3.el_capitan.bottle.tar.gz Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink bin/2to3-2 Target /usr/local/bin/2to3-2 is a symlink belonging to python. You can unlink it: brew unlink python To force the link and overwrite all conflicting files: brew link --overwrite python@2 To list all files that would be deleted: brew link --overwrite --dry-run python@2 Possible conflicting files are: /usr/local/bin/2to3-2 -> /usr/local/Cellar/python/2.7.12_1/bin/2to3-2 /usr/local/bin/2to3-2.7 -> /usr/local/Cellar/python/2.7.12_1/bin/2to3-2.7 /usr/local/bin/idle -> /usr/local/Cellar/python/2.7.12_1/bin/idle ...
* ci/travis: use ninja instead of makeJustin M. Keyes2018-03-11
|
* ci: Remove coveralls coverage reportingJames McCoy2018-02-06
|
* ci/travis: install neovim npm module on osx (#7825)Jan Edmund Lazo2018-01-08
| | | Always get latest nvm on osx to fix lts aliases.
* ci/travis: macOS: skip ruby-neovim installJustin M. Keyes2018-01-07
| | | | | | | With 6fa0a0a516f3 the neovim-ruby gem installs successfully, but ruby_spec.lua can't find it: g:ruby_host_prog needs to be set correctly. Just skip the whole thing for now, so that CI builds don't fail.
* ci/travis: macOS: switch ruby versionJustin M. Keyes2018-01-07
| | | | | Travis macOS builds are failing because of neovim-ruby gem dependencies. Switch default ruby to a newer version to make the builds pass.
* ci: nodejs client acceptance-test #7706Jan Edmund Lazo2017-12-17
| | | | | | | | | | | | | | | | | | | | | | | | ci: install nodejs 8 in Appveyor, Travis provider: check node version for debug support Resolve https://github.com/neovim/neovim/pull/7577#issuecomment-350590592 for Unix. provider: test if nodejs in ci supports --inspect-brk nodejs host for neovim requires nodejs 6+ to work properly. nodejs 6.12+ or 7.6+ is required for debug support via `node --inspect-brk`. provider: run cli.js of nodejs host directly npm shims are useless because the user cannot set node to debug mode via --inspect-brk. This is problematic on Windows which use batchfiles and shell scripts to compensate for not supporting shebang. The patch uses `npm root -g` to get the absolute path of the global npm modules. If that fails, then the user did not install neovim npm package globally. Use that absolute path to find `neovim/bin/cli.js`, which is what the npm shim actually runs with node. glob() is for a simple file check in case bin/ is removed because the npm shims are ignored now.
* ci/travis: ignore pip3 failureJustin M. Keyes2017-09-10
| | | | | | | | | | Workaround for travis issue: https://github.com/travis-ci/travis-ci/issues/8363 Cannot check `command -v pip3`, because that may point to `/opt/pyenv/shims/pip3` which is also (sometimes) broken. ref 6389bde0bc96
* ci: Check for exact value of CI_TARGET, not its emptynessZyX2017-03-31
|
* ci: Do not hide ci directory (#6410)Nikolai Aleksandrovich Pavlov2017-03-31