aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-10-19 18:04:08 -0700
committerGitHub <noreply@github.com>2019-10-19 18:04:08 -0700
commit019c8d13dd7056725c0715dc15e451118b767b7d (patch)
tree09b58913672d5a3a3c3f920f45e6ac7d295bed25
parent06a6828f01638d7f1fed012b494d93eb5f1c206d (diff)
downloadrneovim-019c8d13dd7056725c0715dc15e451118b767b7d.tar.gz
rneovim-019c8d13dd7056725c0715dc15e451118b767b7d.tar.bz2
rneovim-019c8d13dd7056725c0715dc15e451118b767b7d.zip
build/doc/CI: remove/update quickbuild references #11258
-rw-r--r--CMakeLists.txt4
-rw-r--r--CONTRIBUTING.md25
-rw-r--r--runtime/doc/if_lua.txt4
-rw-r--r--runtime/doc/intro.txt10
-rw-r--r--test/functional/api/server_requests_spec.lua4
-rw-r--r--test/functional/helpers.lua4
-rw-r--r--test/helpers.lua6
-rw-r--r--test/unit/mbyte_spec.lua5
8 files changed, 27 insertions, 35 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 08447d5ff9..790fc9fb41 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -317,10 +317,10 @@ if(HAS_DIAG_COLOR_FLAG)
endif()
endif()
-option(TRAVIS_CI_BUILD "Travis/QuickBuild CI, extra flags will be set" OFF)
+option(TRAVIS_CI_BUILD "Travis/sourcehut CI, extra flags will be set" OFF)
if(TRAVIS_CI_BUILD)
- message(STATUS "Travis/QuickBuild CI build enabled")
+ message(STATUS "Travis/sourcehut CI build enabled")
add_compile_options(-Werror)
if(DEFINED ENV{BUILD_32BIT})
# Get some test coverage for unsigned char
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 607f1aae83..04b4d23a2e 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -85,7 +85,7 @@ the VCS/git logs more valuable.
### Automated builds (CI)
-Each pull request must pass the automated builds on [Travis CI], [QuickBuild]
+Each pull request must pass the automated builds on [Travis CI], [sourcehut]
and [AppVeyor].
- CI builds are compiled with [`-Werror`][gcc-warnings], so compiler warnings
@@ -100,14 +100,19 @@ and [AppVeyor].
- The [lint](#lint) build checks modified lines _and their immediate
neighbors_, to encourage incrementally updating the legacy style to meet our
[style](#style). (See [#3174][3174] for background.)
-- [How to investigate QuickBuild failures](https://github.com/neovim/neovim/pull/4718#issuecomment-217631350)
- - QuickBuild uses this invocation:
- ```
- mkdir -p build/${params.get("buildType")} \
- && cd build/${params.get("buildType")} \
- && cmake -G "Unix Makefiles" -DBUSTED_OUTPUT_TYPE=TAP -DCMAKE_BUILD_TYPE=${params.get("buildType")}
- -DTRAVIS_CI_BUILD=ON ../.. && ${node.getAttribute("make", "make")}
- VERBOSE=1 nvim unittest-prereqs functionaltest-prereqs
+- CI for freebsd and openbsd runs on [sourcehut].
+ - To get a backtrace on freebsd (after connecting via ssh):
+ ```sh
+ sudo pkg install tmux # If you want tmux.
+ lldb build/bin/nvim -c nvim.core
+
+ # To get a full backtrace:
+ # 1. Rebuild with debug info.
+ rm -rf nvim.core build
+ gmake CMAKE_BUILD_TYPE=RelWithDebInfo CMAKE_EXTRA_FLAGS="-DTRAVIS_CI_BUILD=ON -DMIN_LOG_LEVEL=3" nvim
+ # 2. Run the failing test to generate a new core file.
+ TEST_FILE=test/functional/foo.lua gmake functionaltest
+ lldb build/bin/nvim -c nvim.core
```
### Clang scan-build
@@ -223,7 +228,7 @@ as context, use the `-W` argument as well.
[review-checklist]: https://github.com/neovim/neovim/wiki/Code-review-checklist
[3174]: https://github.com/neovim/neovim/issues/3174
[Travis CI]: https://travis-ci.org/neovim/neovim
-[QuickBuild]: http://neovim-qb.szakmeister.net/dashboard
+[sourcehut]: https://builds.sr.ht/~jmk
[AppVeyor]: https://ci.appveyor.com/project/neovim/neovim
[Merge a Vim patch]: https://github.com/neovim/neovim/wiki/Merging-patches-from-upstream-Vim
[Clang report]: https://neovim.io/doc/reports/clang/
diff --git a/runtime/doc/if_lua.txt b/runtime/doc/if_lua.txt
index 0ba35aeae6..8528085f47 100644
--- a/runtime/doc/if_lua.txt
+++ b/runtime/doc/if_lua.txt
@@ -361,7 +361,7 @@ Note that underscore-prefixed functions (e.g. "_os_proc_children") are
internal/private and must not be used by plugins.
------------------------------------------------------------------------------
-VIM.API *lua-api*
+VIM.API *lua-api* *vim.api*
`vim.api` exposes the full Nvim |API| as a table of Lua functions.
@@ -371,7 +371,7 @@ Example: to use the "nvim_get_current_line()" API function, call
print(tostring(vim.api.nvim_get_current_line()))
------------------------------------------------------------------------------
-VIM.LOOP *lua-loop*
+VIM.LOOP *lua-loop* *vim.loop*
`vim.loop` exposes all features of the Nvim event-loop. This is a low-level
API that provides functionality for networking, filesystem, and process
diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt
index 887ef764bd..3292489eda 100644
--- a/runtime/doc/intro.txt
+++ b/runtime/doc/intro.txt
@@ -378,11 +378,11 @@ notation meaning equivalent decimal value(s) ~
<kEqual> keypad = *keypad-equal*
<kEnter> keypad Enter *keypad-enter*
<k0> - <k9> keypad 0 to 9 *keypad-0* *keypad-9*
-<S-...> shift-key *shift* *<S-*
-<C-...> control-key *control* *ctrl* *<C-*
-<M-...> alt-key or meta-key *META* *ALT* *<M-*
-<A-...> same as <M-...> *<A-*
-<D-...> command-key or "super" key *<D-*
+<S-…> shift-key *shift* *<S-*
+<C-…> control-key *control* *ctrl* *<C-*
+<M-…> alt-key or meta-key *META* *ALT* *<M-*
+<A-…> same as <M-…> *<A-*
+<D-…> command-key or "super" key *<D-*
-----------------------------------------------------------------------
Note: The shifted cursor keys, the help key, and the undo key are only
diff --git a/test/functional/api/server_requests_spec.lua b/test/functional/api/server_requests_spec.lua
index 61184d2c59..237a4b01e4 100644
--- a/test/functional/api/server_requests_spec.lua
+++ b/test/functional/api/server_requests_spec.lua
@@ -345,10 +345,6 @@ describe('server -> client', function()
describe('connecting to its own pipe address', function()
it('does not deadlock', function()
- if not helpers.isCI('travis') and helpers.is_os('mac') then
- -- It does, in fact, deadlock on QuickBuild. #6851
- pending("deadlocks on QuickBuild")
- end
local address = funcs.serverlist()[1]
local first = string.sub(address,1,1)
ok(first == '/' or first == '\\')
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index a6ff10c0a4..1108fbb2ba 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -29,10 +29,8 @@ local module = {
}
local start_dir = lfs.currentdir()
--- XXX: NVIM_PROG takes precedence, QuickBuild sets it.
module.nvim_prog = (
- os.getenv('NVIM_PROG')
- or os.getenv('NVIM_PRG')
+ os.getenv('NVIM_PRG')
or global_helpers.test_build_dir .. '/bin/nvim'
)
-- Default settings for the test session.
diff --git a/test/helpers.lua b/test/helpers.lua
index 30e43a9ea4..4c526d217f 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -715,13 +715,11 @@ end
function module.isCI(name)
local any = (name == nil)
- assert(any or name == 'appveyor' or name == 'quickbuild' or name == 'travis'
- or name == 'sourcehut')
+ assert(any or name == 'appveyor' or name == 'travis' or name == 'sourcehut')
local av = ((any or name == 'appveyor') and nil ~= os.getenv('APPVEYOR'))
local tr = ((any or name == 'travis') and nil ~= os.getenv('TRAVIS'))
- local qb = ((any or name == 'quickbuild') and nil ~= lfs.attributes('/usr/home/quickbuild'))
local sh = ((any or name == 'sourcehut') and nil ~= os.getenv('SOURCEHUT'))
- return tr or av or qb or sh
+ return tr or av or sh
end
diff --git a/test/unit/mbyte_spec.lua b/test/unit/mbyte_spec.lua
index d27f52923a..fdb1bceab0 100644
--- a/test/unit/mbyte_spec.lua
+++ b/test/unit/mbyte_spec.lua
@@ -8,11 +8,6 @@ local mbyte = helpers.cimport("./src/nvim/mbyte.h")
local charset = helpers.cimport('./src/nvim/charset.h')
describe('mbyte', function()
- if helpers.isCI('quickbuild') then
- pending("crashes on quickbuild", function() end)
- return
- end
-
-- Array for composing characters
local intp = ffi.typeof('int[?]')
local function to_intp()