aboutsummaryrefslogtreecommitdiff
path: root/.ci
Commit message (Collapse)AuthorAge
* ci: Do not hide ci directory (#6410)Nikolai Aleksandrovich Pavlov2017-03-31
|
* ci: Run check-single-includes in "lint" build onlyJustin M. Keyes2017-03-29
|
* ci: Check that `#include "*.h"` works as a single includeEiichi NISHINA2017-03-27
| | | | | | | | | | | Lesser form of include-what-you-use: at least guarantees that header file did not forget to include something through some other included file. Activate run_single_includes_tests on CI. Fix some IWYU violations. References #5321
* ci: Better core dump checkingZyX2017-02-14
| | | | | | | | | | | | | | | | - Do not exclude any directories from `find` search, remove dumps before tests instead. - Install `apport` on travis so that linux tests should produce core dumps (based on information from travis-ci/travis-ci#3754, not sure whether it still applies). - Check cores in lua so that one has an idea which test is failing exactly. Do this only 10% of time on linux because traversing the file system is slow. Unit tests are still not touched, though it is what `app` argument in `check_cores` is for. TODO? consider using `find`, it may be faster. Consider retiring `os.execute`, dealing with escaping is bad.
* ci: Try checking for core dumpsZyX2017-02-14
| | | | | Note: can’t use `dbg_cmd` string because I need arguments with spaces (i.e. `bt all` and `thread apply all bt full`).
* ci: Extract prepare_build() from build_nvim()ZyX2017-02-14
|
* ci: Do not use `oldtest` target on Travis. (#6101)Justin M. Keyes2017-02-13
| | | | | | | | | We must invoke src/nvim/testdir/Makefile directly. Explained in 3d1084f264ed08ed75d038510e2e53359d8544eb: > Running tests from the top-level Makefile will use the third-party > dependencies from .deps instead of the ones from the Travis cache. If we could run `oldtest` with CMake, we would not need to do this. Need USES_TERMINAL feature (CMake 3.2+) for that.
* build: `oldtest` target: TEST_FILE, NVIM_PRG (#6098)Justin M. Keyes2017-02-12
| | | | | | | | | | | | | | | | | | | | | | - Add support for TEST_FILE to the `oldtest` target, for consistency with the busted/lua tests. Caveat: with the busted/lua tests TEST_FILE takes a full path, whereas for `oldtest` it must be "test_foo.res". - Add support for NVIM_PRG, again so that all test-related targets are consistent. - Use consistent name for NVIM_PRG. But still need to support NVIM_PROG for QuickBuild CI. Note: The `oldtest` target is driven by the top-level Makefile, because it requires a TTY. CMake 3.2 added a USES_TERMINAL flag to add_custom_target(). But we support CMake 2.8... add_custom_target(oldtest COMMAND make clean COMMAND make NVIM_PRG=$<TARGET_FILE:nvim> $ENV{MAKEOVERRIDES} DEPENDS nvim WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/nvim/testdir" USES_TERMINAL true )
* win: ci/AppVeyor: Rearrange PATH setup for python. (#5946)Justin M. Keyes2017-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was an attempt to enable test/functional/provider/python3_spec.lua It actually *does* appear to work if we do this: mingw32-make functionaltest VERBOSE=1 PATH=C:\Python35;C:\Python27;%PATH% Note that %PATH% *already* has C:\Python35 at its start by then, so PATH=C:\Python35;C:\Python27;%PATH% is _redundant_. python3_spec.lua *does* find python3.exe in that case, and succeeds. But it causes weird failures in unrelated tests: [----------] Running tests from C:/projects/neovim/test/functional\core\job_partial_spec.lua [ RUN ] ...rojects/neovim/test/functional\core\job_partial_spec.lua @ 17: jobs with partials works correctly .\test\functional\helpers.lua:89: Vim(call):E903: Process for command "powershell" could not be spawned stack traceback: .\test\functional\helpers.lua:89: in function 'request' .\test\functional\helpers.lua:147: in function 'nvim_command' .\test\functional\helpers.lua:344: in function 'source' ...rojects/neovim/test/functional\core\job_partial_spec.lua:18: in function <...rojects/neovim/test/functional\core\job_partial_spec.lua:17> [ ERROR ] ...rojects/neovim/test/functional\core\job_partial_spec.lua @ 17: jobs with partials works correctly (0.00 ms) [ RUN ] C:/projects/neovim/test/functional\eval\execute_spec.lua @ 73: execute() does not capture shell-command output C:/projects/neovim/test/functional\eval\execute_spec.lua:74: Expected objects to be the same. Passed in: (string) ' :!echo "foo" Cannot execute cmd.exe shell returned -1 ' Expected: (string) ' :!echo "foo" ' stack traceback: C:/projects/neovim/test/functional\eval\execute_spec.lua:74: in function <C:/projects/neovim/test/functional\eval\execute_spec.lua:73> [ FAILED ] C:/projects/neovim/test/functional\eval\execute_spec.lua @ 73: execute() does not capture shell-command output (15.60 ms) [ RUN ] C:/projects/neovim/test/functional\ex_cmds\arg_spec.lua @ 11: :argument does not restart :terminal buffer C:/projects/neovim/test/functional\ex_cmds\arg_spec.lua:18: Expected objects to be the same. Passed in: (boolean) false Expected: (boolean) true stack traceback: C:/projects/neovim/test/functional\ex_cmds\arg_spec.lua:18: in function <C:/projects/neovim/test/functional\ex_cmds\arg_spec.lua:11> [ FAILED ] C:/projects/neovim/test/functional\ex_cmds\arg_spec.lua @ 11: :argument does not restart :terminal buffer (0.00 ms) [ RUN ] C:/projects/neovim/test/functional\ex_cmds\edit_spec.lua @ 11: :edit without arguments does not restart :terminal buffer C:/projects/neovim/test/functional\ex_cmds\edit_spec.lua:16: Expected objects to be the same. Passed in: (boolean) false Expected: (boolean) true stack traceback: C:/projects/neovim/test/functional\ex_cmds\edit_spec.lua:16: in function <C:/projects/neovim/test/functional\ex_cmds\edit_spec.lua:11> [ FAILED ] C:/projects/neovim/test/functional\ex_cmds\edit_spec.lua @ 11: :edit without arguments does not restart :terminal buffer (15.60 ms) [ RUN ] ...s/neovim/test/functional\eval\msgpack_functions_spec.lua @ 457: msgpackparse() function msgpackparse(systemlist(...)) does not segfault. #3135 .\test\functional\helpers.lua:89: Failed to evaluate expression stack traceback: .\test\functional\helpers.lua:89: in function 'eval' ...s/neovim/test/functional\eval\msgpack_functions_spec.lua:460: in function <...s/neovim/test/functional\eval\msgpack_functions_spec.lua:457> [ ERROR ] ...s/neovim/test/functional\eval\msgpack_functions_spec.lua @ 457: msgpackparse() function msgpackparse(systemlist(...)) does not segfault. #3135 (15.63 ms) [ FAILED ] 3 tests, listed below: [ FAILED ] C:/projects/neovim/test/functional\eval\execute_spec.lua @ 73: execute() does not capture shell-command output [ FAILED ] C:/projects/neovim/test/functional\ex_cmds\arg_spec.lua @ 11: :argument does not restart :terminal buffer [ FAILED ] C:/projects/neovim/test/functional\ex_cmds\edit_spec.lua @ 11: :edit without arguments does not restart :terminal buffer [ ERROR ] 2 errors, listed below: [ ERROR ] ...rojects/neovim/test/functional\core\job_partial_spec.lua @ 17: jobs with partials works correctly [ ERROR ] ...s/neovim/test/functional\eval\msgpack_functions_spec.lua @ 457: msgpackparse() function msgpackparse(systemlist(...)) does not segfault. #3135 64 SKIPPED TESTS 3 FAILED TESTS 2 ERRORS -- Output to stderr: The system cannot find the path specified. CMake Error at C:/projects/neovim/cmake/RunTests.cmake:46 (message): Running functional tests failed with error: 1.
* Windows: ci/AppVeyor: Enable Python provider testsRui Abreu Ferreira2017-01-11
| | | | | | | | | | | Setup python2/3 and install the Neovim client in Appveyor to enable the python tests. - Use the Python installation provided by Appveyor, because dependencies pyuv, greenlet have issues compiling with MinGW-w64. And this way we avoid building those too. - Copy python.exe => python3.exe so that the python provider can find python3.
* ci: Upgrade pip3 (instead of install)Justin M. Keyes2016-12-28
|
* eval: use gperf to generate the hash of builtin functionsBjörn Linse2016-08-31
| | | | make api functions highlighted as builtins in vim.vim
* Appveyor: Enable functional testsRui Abreu Ferreira2016-08-26
| | | | Most functional tests don't work on Windows yet, for now enable a subset of the tests in Appveyor builds.
* build: Refactor appveyor/Windows scripts (#5244)Rui Abreu Ferreira2016-08-26
| | | | | | | | | | - Join all msys build scripts into one - Clean up appveyor.yml and generate installer for tagged builds A side effect of the cosmetic changes is that appveyor artifact permalinks are easier to use, e.g. for the latest zip in the master branch https://ci.appveyor.com/api/projects/neovim/neovim/artifacts/build/Neovim.zip?branch=master&job=Configuration%3A%20MINGW_64
* Appveyor: Generate helptags and build artifactsRui Abreu Ferreira2016-08-09
| | | | | | | | Build the default CMake target now that helptag generation is working again. For build artifacts create a zip file with an instalation of Neovim (generated by cpack).
* MinGW Appveyor buildsRui Abreu Ferreira2016-08-01
| | | | | | | | - Build for MinGW x86/x86_64. Move build scripts out of the yml file into separate batch files. - The MinGW builds use MSYS to get runtime dependencies, but they do not link against the POSIX adaptation layer. - For now only build the nvim.exe binary, but not the helptags.
* Travis: Remove MinGW buildsRui Abreu Ferreira2016-08-01
| | | | | MinGW builds in Travis have been disabled for a while now, and some of the upcoming patches will break cross compilation even further.
* Travis: Build 3rd-party dependencies with system's default compiler.Florian Walch2016-07-30
| | | | | Using GCC 4.9 for building the dependencies caused some linker error on OS X.
* Travis: Fix accidental building of 3rd-party dependencies.Florian Walch2016-07-30
| | | | | Running tests from the top-level Makefile will use the third-party dependencies from .deps instead of the ones from the Travis cache.
* Travis: Use caching instead of pre-compiled deps for OSX.Florian Walch2016-07-30
|
* Merge #5062 from blueyed/fix-genvimvim-funcnamesJustin M. Keyes2016-07-19
|\ | | | | genvimvim.lua: fix matching functions
| * fixup! fixup! genvimvim.lua: fix matching functionsDaniel Hahler2016-07-19
| |
| * fixup! genvimvim.lua: fix matching functionsDaniel Hahler2016-07-14
| |
* | Merge #5077 from fwalch/travis/fix-gcovJustin M. Keyes2016-07-17
|\ \ | |/ |/| Travis: Fix coveralls upload.
| * Travis: Fix coveralls upload.Florian Walch2016-07-17
| |
* | Merge #4980 'Support legacy `:ruby` commands'.Justin M. Keyes2016-07-10
|\ \
| * | Install neovim RubyGem on CIAlex Genco2016-07-08
| | |
* | | Travis: Enable before_cache script for MacOS. (#5007)Florian Walch2016-07-04
| |/ |/| | | Travis now seems to support caching on MacOS.
* | ci: Reduce verbosity of low-risk tasks.Justin M. Keyes2016-07-03
|/
* ci: test: Replace hard-coded commands with Makefile's targetsJames McCoy2016-05-17
|
* Add travis build for lua functionaltestThiago de Arruda2016-03-07
|
* CI/travis: get MinGW from our mirror.Justin M. Keyes2016-02-06
| | | | | sourceforge download has been failing randomly, which causes build failures.
* CI/travis: Move check to before_script.sh.Justin M. Keyes2016-02-06
| | | | Avoids some duplication.
* test: change CI_TARGET reference to CIJustin M. Keyes2016-01-01
| | | | | | | | Travis defines[1] $CI for its builds, whereas $CI_TARGET is a Neovim-specific env var from 6483a198e4bee1e80683ba12e061616c3e6c4090 that lost prominence in d2eb4a934683b5da63000d8b79a0d4c9a314d1c0. [1] https://docs.travis-ci.com/user/environment-variables/
* CI/travis: enable gcov for one build only. #3926Justin M. Keyes2016-01-01
|
* Travis: Install Python 3 to run Python 3 tests.Florian Walch2015-09-27
| | | | | | | | | | | | | | Install Python 3.3 from the Deadsnakes PPA. As this doesn't have pip, install it manually into ~/.local. ~/.local/bin is apparently in Travis's default PATH, meaning "pip" doesn't refer to Python 2's pip anymore, but to the manually installed Python 3 version. Updated the scripts to use version- suffixed executable names (e.g. pip2.7). Set CC=cc to use system's default compiler when installing Python modules, as gcc on OS X had a problem with compiling one of the dependencies of the Neovim Python module.
* Travis: Cache third-party build directory.Florian Walch2015-09-09
| | | | | | Instead of just caching the third-party build output, cache the full build directory. Always run make to ensure that updated dependencies are downloaded.
* travis: Enable TSAN for sanity checking the terminal UIThiago de Arruda2015-09-06
|
* install tutorial files #3180Felipe Morales2015-08-16
|
* runtime: Do install generated syntax file, also test this. #3160ZyX2015-08-11
| | | | Fixes #3157
* Travis: Check some configuration variables in before_script.Florian Walch2015-07-08
|
* Travis: Use gcov that matches the used compiler.Florian Walch2015-07-08
| | | | | | | | | | This fixes gcov/coveralls warnings like the following: Segmentation fault (core dumped) charset.c.gcno:version '501*', prefer '406*' Out of memory allocating 33061786568 bytes after a total of 2522648 bytes http://stackoverflow.com/a/14676272/249642
* Travis: Refactor CI files, use container infrastructure.Florian Walch2015-07-08
| | | | | | | | | | | | | | | | | | | | | * Split build steps to utilize the Travis build lifecycle. * Move shell code from `.travis.yml` into Bash files in `.ci/`, one file for each step of the Travis build lifecycle. * Use configuration variables in `.travis.yml` to change build behavior (e.g. build 32-bit with `BUILD_32BIT=ON`). * Keep all configuration in environment variables in `.travis.yml`. In scripts, concatenate environment variables according to configuration to change to different behavior. * Add GCC 5 builds for Linux. * Use Travis's caching feature [1] for third-party dependencies and pip packages. * Allow failures MSan, as the errors it reports have to be fixed first. Valgrind is still disabled, but can be enabled by setting `env: VALGRIND=ON` for a job in `.travis.yml`. [1] http://docs.travis-ci.com/user/caching
* Travis: Disable functional tests and allow failures for MSan.Florian Walch2015-07-05
| | | | | | | * Functional tests fail with SIGPIPE: disable them until we figure out the exact problem. * MSan reports some warnings: allow failures for the Travis build to allow fixing them in individual follow-up PRs.
* Travis: Use Clang 3.6.Florian Walch2015-07-05
|
* CMake: Add option for Clang TSan, rename option ASAN -> ASAN_UBSAN.Florian Walch2015-07-05
|
* CMake: Add option for Clang MSan.Florian Walch2015-07-05
|
* Travis: Disable Valgrind in GCC build. #2806Florian Walch2015-06-09
| | | | | With Valgrind, the GCC build frequently passed the 50 min timeout on Travis.
* Travis: Add Mingw third-party buildsRui Abreu Ferreira2015-05-15
| | | | | - Build third-party/ in Travis using mingw - Import mingw-w64 cmake toolchain
* ci: Remove USE_JEMALLOC referenceMichael Reed2015-05-13
| | | | It was removed in 8130eb1191aece52d8b2790302abf1bd09aaf90f