aboutsummaryrefslogtreecommitdiff
path: root/ci
Commit message (Collapse)AuthorAge
* tests: use runtime from build for doc/tags with :help (#10479)Daniel Hahler2019-08-28
| | | | | | | | | | | | This is better practice in general, and allows to remove the "helptags ALL" hacks. Ref: https://github.com/neovim/neovim/issues/8824 Ref: https://github.com/neovim/neovim/commit/f1b67c3453c * Makefile: fix dependencies with regard to helptags - use the file as the main target to avoid unnecessary triggering - use "make oldtest" on Travis to ensure it gets built
* ci: AppVeyor: exitIfFailed with old tests (#10187)Daniel Hahler2019-08-21
|
* ci: Travis: build.sh: use cat "-vet" for osxDaniel Hahler2019-08-14
| | | | | | | | | | | | | Fixes: cat: illegal option -- A usage: cat [-benstuv] [file ...] Broken in 5cc45bb41. squash! ci: Travis: build.sh: use cat "-vET" for osx [skip appveyor] cat -vet
* ci: Travis: check logs for TSan also (#10775)Daniel Hahler2019-08-14
| | | | | | | Uses `cat -A` with early "*San" check: This prints terminal escape sequences as-is (for debugging), and does not cause (display) issues with the Travis log. Ref: https://github.com/neovim/neovim/pull/10591#issuecomment-521248233
* ci: AppVeyor: fix upload of coverage for oldtest (#10721)Daniel Hahler2019-08-07
| | | | | This was not working due to having another `python` in the PATH then. Ref: https://ci.appveyor.com/project/neovim/neovim/builds/26492761/job/dspm40v5l2v6gn40?fullLog=true#L15955
* ci: Travis: improve/revisit caching (#10358)Daniel Hahler2019-07-30
| | | | | | | | | | | | | | | | - use CACHE_NVIM_DEPS_DIR - do not cache pip This is handled through http caches in general/better, and it is not used much anyway. - do not cache DEPS_DOWNLOAD_DIR Built deps are cached, downloads are not needed then. - display ccache stats before clearing - do not cache ccache stats - improve output of `du` (do not list pages of output for "/home/travis/.cache/go-build")
* ci: pylint target via flake8Daniel Hahler2019-07-29
| | | | Ref: https://github.com/neovim/neovim/pull/10631#issuecomment-515756591
* ci: Travis: no need for asan_symbolize (#10627)Daniel Hahler2019-07-28
| | | | | | | | Having llvm-symbolizer in the $PATH is enough. - check_logs: remove log after displaying it Otherwise it would be displayed/symbolized again and again. E.g. in https://api.travis-ci.org/v3/job/564477704/log.txt.
* ci: AppVeyor: DEPS_BUILD_DIR is not a CMake variable [ci skip] (#10613)Daniel Hahler2019-07-27
| | | | | | | | Fixes: > CMake Warning: > Manually-specified variables were not used by the project: > > DEPS_BUILD_DIR
* coverage: use "cd" with gcovr (#10594)Daniel Hahler2019-07-25
| | | | | | This makes the invocation compatible for the upcoming gcovr 4.2 release, and is the correct way of invoking it. Ref: https://github.com/gcovr/gcovr/commit/a782972#commitcomment-34420728
* Revert "Downgrade to clang-4.0 to avoid false-positive warnings from clang" ↵Daniel Hahler2019-07-18
| | | | | [skip appveyor] (#10487) This reverts commit 2cbac719c3eba8ea5826e16912126d70222911ed.
* ci: AppVeyor: do not install unibilium system-wide (#10464)Daniel Hahler2019-07-10
| | | Initially added in 685ca180f, but gets built via third-party anyway by now.
* ci: Travis: use minimum supported CMake in one job (#10445)Daniel Hahler2019-07-08
|
* CI: improve gcov handling #10404Daniel Hahler2019-07-07
| | | | | | | | | - Move __gcov_flush to process_spawn, for more reliable coverage tracking of subprocesses - Travis: use GCOV_ERROR_FILE - codecov: use "-X fix" to skip "fixing" uploaded coverage data; it should be handled by codecov's backend instead. - AppVeyor: no $PATH mangling, which breaks with the improved coverage tracking due to missing .dll in PATH.
* Improve luacheck setup [skip appveyor]Daniel Hahler2019-07-04
| | | | | | | | - Move .luacheckrc to root, add read_globals=vim - Simplify lualint target, run it on all lua files - Lint preload.lua, but ignore W211 - Remove testlint target, included in lualint (and lint) - Clean up .luacheckrc
* ci: Travis: do not close fold on failure [skip ci]Daniel Hahler2019-07-03
| | | | | This makes it easier to inspect the test failure, without having to open two folds (typically), and scrolling around.
* ci: Travis: upgrade OSX images (10.1 => 10.2) (#10319)Daniel Hahler2019-06-26
| | | | | | | | | * ci: Travis: upgrade OSX images (10.1 => 10.2) * ci: nvim-deps: use `cp -a` [skip appveyor] Symlinks should be preserved. Ref: https://github.com/neovim/neovim/pull/10319#issuecomment-505410132
* ci: revisit/fix coverage uploading (#10201)Daniel Hahler2019-06-25
| | | | | | | | | | | * Add ci/common/submit_coverage.sh, used with Travis and AppVeyor * use gcovr, with coverage.xml for better branch coverage reporting, and easier processing of gcov files in general * codecov: use flags again, with `uname -s` additionally Ref: https://github.com/neovim/neovim/pull/10227#issuecomment-502923543 * remove now unused parsers.gcov config from codecov.yml
* 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: Travis: ccache: use --zero-statsDaniel Hahler2019-06-17
| | | | | This makes it display actual results in before_cache then, and it seems like it is not necessary to keep stats across builds.
* ci/build.ps1: add comment for PATH mangling with old testsDaniel Hahler2019-06-17
|
* ci/common/test.sh: fix some issues reported by shellcheckDaniel Hahler2019-06-17
|
* ci: AppVeyor: ensure that win32 feature is set (#10216)Daniel Hahler2019-06-16
| | | | | | | [skip travis] Closes https://github.com/neovim/neovim/pull/10232. Co-authored-by: Jan Edmund Lazo <jan.lazo@mail.utoronto.ca>
* ci: codecov: do not use flags [ci skip] (#10227)Daniel Hahler2019-06-15
| | | | Using flags results in timeouts on their end when viewing reports, and is a known issue since months already.
* ci/build.ps1: Respect CMAKE_BUILD_TYPE if provided #9869Justin M. Keyes2019-04-09
|
* :stopinsert should leave terminal-mode #9856glacambre2019-04-08
| | | | | | | | | Problem: Calling :stopinsert from RPC while in terminal-mode does not go back to normal-mode. Solution: Implement a check() handler for state_enter(), adapted from insert_check(). Fix #7807
* CI/AppVeyor: print info about restored cacheJustin M. Keyes2019-04-08
|
* CI/AppVeyor: build deps out-of-treeJustin M. Keyes2019-04-08
| | | | | | | | | | | appveyor.yml: set cache to an absolute path. Desperate attempt to get AppVeyor cache to work. My assumption in a7a56293aad9 #9852 that that different jobs were overwriting each other's cache is probably wrong: AppVeyor docs/discussions hint that the cache is per-config (though I haven't found a clear, unambiguous statement as such).
* CI/AppVeyor: do skip-logic earlier #9854Justin M. Keyes2019-04-07
|
* CI/AppVeyor: per-compiler deps cache #9852Justin M. Keyes2019-04-07
| | | | The deps cache does not work for MSVC builds because the MINGW builds ovewrite it. Cache saves 10+ minutes on the build.
* 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
|
* CI/AppVeyor: install "pynvim" python package #9371Justin M. Keyes2018-12-16
|
* Downgrade to clang-4.0 to avoid false-positive warnings from clangJames McCoy2018-11-24
| | | | | | | | | | | | | * -Wtautological-compare error: self-comparison always evaluates to true [-Werror,-Wtautological-compare] for (win_T *wp = ((curtab) == curtab) ? firstwin : (curtab)->tp_firstwin; wp != ((void*)0); wp = wp->w_next) { * -Wconversion error: implicit conversion loses floating-point precision: 'const float_T' (aka 'const double') to 'float' [-Werror,-Wconversion] do { const float_T flt_ = (tv->vval.v_float); switch ((sizeof (flt_) == sizeof (float) ? __fpclassifyf (flt_) : sizeof (flt_) == sizeof (double) ? __fpclassify (flt_) : __fpclassifyl (flt_))) { case 0: { ga_concat(gap, (char_u *)(char_u *) "str2float('nan')"); break; } case 1: { if (flt_ < 0) { ga_append(gap, '-'); } ga_concat(gap, (char_u *)(char_u *) "str2float('inf')"); break; } default: { char numbuf[NUMBUFLEN]; vim_snprintf(numbuf, ((sizeof(numbuf)/sizeof((numbuf)[0])) / ((size_t)(!(sizeof(numbuf) % sizeof((numbuf)[0]))))), "%g", flt_); ga_concat(gap, (char_u *)(char_u *) numbuf); } } } while (0); ~~~~~~~~~~~~~ ^~~~
* 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/AppVeyor: Avoid "warning" which causes non-zero retcodeJustin M. Keyes2018-11-05
| | | | | | ErrorActionPreference=stop will fail the script if this warning occurs. see https://github.com/open62541/open62541/issues/2068
* ci: win: enable powershell's strict modeJan Edmund Lazo2018-10-31
| | | | | | | | | | | | Give variables a default value to pass strict mode. $ErrorActionPreference defines the default behavior if a powershell command fails. If it's set to 'stop', then it aborts the script on the first unresolved error. This behavior extends to native programs like cmake but do not depend on it. https://github.com/PowerShell/PowerShell/issues/3996
* ci: win: use Ninja for CMake GeneratorJan Edmund Lazo2018-10-31
|
* CI/Travis/macOS: use default Travis-provided python/pipJustin M. Keyes2018-10-23
| | | | | | | Despite #9095, `brew upgrade python` broke again, somehow. We should not bother attempting to force a python version. Instead use whatever python Travis provides on the macOS image.
* CI/AppVeyor: fix MSBuild hack for functional testsJan Edmund Lazo2018-10-22
| | | | | | PR #9087 changed the error string by removing 'Running', breaking the MSBuild hack detecting failure for functional tests. If stdout or stderr has a line with 'functional tests failed with error', fail the build.
* CI/travis/macOS: silence non-error messages from homebrewJustin M. Keyes2018-10-13
| | | | Reduces the log size by 11% (1100/9670 lines).
* CI/travis/macOS: use "sudo rm" to remove coresJustin M. Keyes2018-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After bumping Travis macOS to 10.13, it now hangs at: + check_core_dumps --delete quiet + local del= + test --delete = --delete + del=1 + shift + local app=quiet + test osx = osx ++ find /cores/ -type f -print + local 'cores=/cores//core.554 /cores//core.641 /cores//core.801' + test -z '/cores//core.554 /cores//core.641 /cores//core.801' + local core + for core in '$cores' + test 1 = 1 + print_core quiet /cores//core.554 + local app=quiet + local core=/cores//core.554 + test quiet = quiet + echo 'Found core /cores//core.554' Found core /cores//core.554 + return 0 + rm /cores//core.554 override r-------- root/admin for /cores//core.554? The cores are always present on the Travis macOS 10.13 image! Hilarious.
* 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
* CI/AppVeyor: Disable gcov build for PRsJustin M. Keyes2018-09-04
| | | | | | | | Currently the "gcov" build always fails on AppVeyor. It makes the builds very slow, so disable it for PRs until the problem is fixed. closes #8911 closes #8912
* test: Dump $NVIM_LOG_FILE contents (#8926)Justin M. Keyes2018-08-28
| | | | | | Do this at the test-framework level instead of CI (Travis) scripts. Then it works for QuickBuild and AppVeyor. ref eb6dd3e42dc38460e8624dc5faef894e21c6aa26
* CI/travis: fix restore from cacheJustin M. Keyes2018-08-12
| | | | | | | | | | | | | | | a36938500988 fixed this for "~/.cache/nvim-deps/", but strangely not for "~/.cache/nvim-deps-downloads/". ref a36938500988 ref #8316 ref #8281 Seen in https://travis-ci.org/neovim/neovim/jobs/414982972 : Using third-party dependencies from Travis cache (last update: Aug 11 23:00:15 2018). cp: /Users/travis/build/neovim/neovim/deps-downloads/nvim-deps-downloads/…/nvim-deps-downloads/libvterm/a9c7c6fd20fa35e0ad3e0e98901ca12dfca9c25c.tar.gz: name too long (not copied)
* 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
|