-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
breja
committed
Feb 21, 2019
1 parent
e4c7ef8
commit 618e178
Showing
9,741 changed files
with
797,617 additions
and
1,564,596 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
BasedOnStyle: Google | ||
Language: Cpp | ||
ColumnLimit: 80 | ||
IndentWidth: 2 | ||
TabWidth: 2 | ||
UseTab: Never | ||
IndentCaseLabels: true | ||
BreakBeforeBraces: Linux | ||
AlignEscapedNewlinesLeft: false | ||
AllowShortFunctionsOnASingleLine: false | ||
AlignTrailingComments: true | ||
SpacesBeforeTrailingComments: 2 | ||
PenaltyReturnTypeOnItsOwnLine: 200 | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
BinPackParameters: false | ||
BreakBeforeBinaryOperators: true | ||
BreakBeforeTernaryOperators: true | ||
ContinuationIndentWidth: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
tab_width = 8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
|
||
[{Makefile,**/Makefile,runtime/doc/*.txt}] | ||
indent_style = tab | ||
indent_size = 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,56 @@ | ||
.DS_Store | ||
# Tools | ||
.ropeproject/ | ||
# Visual Studio | ||
/.vs/ | ||
|
||
# Build/deps dir | ||
/build/ | ||
/cmake-build-debug/ | ||
/dist/ | ||
/.deps/ | ||
/tmp/ | ||
|
||
*.mo | ||
.*.sw? | ||
*~ | ||
*.pyc | ||
*.o | ||
*.so | ||
|
||
tags | ||
|
||
/src/nvim/po/vim.pot | ||
/src/nvim/po/*.ck | ||
|
||
# Generated by tests with $NVIM_LOG_FILE set. | ||
/.nvimlog | ||
|
||
# Generated by scripts/vim-patch.sh | ||
/.vim-src/ | ||
|
||
# Generated by old (Vim) tests. | ||
/src/nvim/testdir/del | ||
/src/nvim/testdir/test*.out | ||
/src/nvim/testdir/test*.res | ||
/src/nvim/testdir/test.log | ||
/src/nvim/testdir/messages | ||
/src/nvim/testdir/viminfo | ||
/src/nvim/testdir/test.ok | ||
/src/nvim/testdir/*.failed | ||
/src/nvim/testdir/X* | ||
/src/nvim/testdir/valgrind.* | ||
/src/nvim/testdir/.gdbinit | ||
|
||
# Generated by unit tests. | ||
/test/includes/post/ | ||
|
||
# Generated by luacheck during `make testlint' | ||
/test/.luacheckcache | ||
|
||
# local make targets | ||
local.mk | ||
|
||
# runtime/doc | ||
/runtime/doc/*.html | ||
/runtime/doc/tags.ref | ||
/runtime/doc/errors.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
dist: xenial | ||
|
||
language: c | ||
|
||
env: | ||
global: | ||
# Set "false" to force rebuild of third-party dependencies. | ||
- CACHE_ENABLE=true | ||
# Build directory for Neovim. | ||
- BUILD_DIR="$TRAVIS_BUILD_DIR/build" | ||
# Build directory for third-party dependencies. | ||
- DEPS_BUILD_DIR="$HOME/nvim-deps" | ||
# Directory where third-party dependency sources are downloaded to. | ||
- DEPS_DOWNLOAD_DIR="$TRAVIS_BUILD_DIR/deps-downloads" | ||
# Install directory for Neovim. | ||
- INSTALL_PREFIX="$HOME/nvim-install" | ||
# Log directory for Clang sanitizers and Valgrind. | ||
- LOG_DIR="$BUILD_DIR/log" | ||
# Nvim log file. | ||
- NVIM_LOG_FILE="$BUILD_DIR/.nvimlog" | ||
# Default CMake flags. | ||
- CMAKE_FLAGS="-DTRAVIS_CI_BUILD=ON | ||
-DCMAKE_BUILD_TYPE=Debug | ||
-DCMAKE_INSTALL_PREFIX:PATH=$INSTALL_PREFIX | ||
-DBUSTED_OUTPUT_TYPE=nvim | ||
-DDEPS_PREFIX=$DEPS_BUILD_DIR/usr | ||
-DMIN_LOG_LEVEL=3" | ||
- DEPS_CMAKE_FLAGS="-DDEPS_DOWNLOAD_DIR:PATH=$DEPS_DOWNLOAD_DIR -DUSE_BUNDLED_GPERF=OFF" | ||
# Additional CMake flags for 32-bit builds. | ||
- CMAKE_FLAGS_32BIT="-DCMAKE_SYSTEM_LIBRARY_PATH=/lib32:/usr/lib32:/usr/local/lib32 | ||
-DCMAKE_IGNORE_PATH=/lib:/usr/lib:/usr/local/lib | ||
-DCMAKE_TOOLCHAIN_FILE=$TRAVIS_BUILD_DIR/cmake/i386-linux-gnu.toolchain.cmake" | ||
# Environment variables for Clang sanitizers. | ||
- ASAN_OPTIONS="detect_leaks=1:check_initialization_order=1:log_path=$LOG_DIR/asan" | ||
- TSAN_OPTIONS="log_path=$LOG_DIR/tsan" | ||
- UBSAN_OPTIONS="print_stacktrace=1 log_path=$LOG_DIR/ubsan" | ||
- ASAN_SYMBOLIZE=asan_symbolize | ||
# Environment variables for Valgrind. | ||
- VALGRIND_LOG="$LOG_DIR/valgrind-%p.log" | ||
# If this file exists, the cache is valid (compile was successful). | ||
- CACHE_MARKER="$HOME/.cache/nvim-deps/.travis_cache_marker" | ||
# default target name for functional tests | ||
- FUNCTIONALTEST=functionaltest | ||
- CI_TARGET=tests | ||
# Environment variables for ccache | ||
- CCACHE_COMPRESS=1 | ||
- CCACHE_SLOPPINESS=time_macros,file_macro | ||
- CCACHE_BASEDIR="$TRAVIS_BUILD_DIR" | ||
|
||
jobs: | ||
include: | ||
- stage: normal builds | ||
os: linux | ||
compiler: clang-4.0 | ||
# Use Lua so that ASAN can test our embedded Lua support. 8fec4d53d0f6 | ||
env: > | ||
CLANG_SANITIZER=ASAN_UBSAN | ||
CMAKE_FLAGS="$CMAKE_FLAGS -DPREFER_LUA=ON" | ||
ASAN_SYMBOLIZE=asan_symbolize-4.0 | ||
- os: linux | ||
compiler: gcc | ||
env: > | ||
FUNCTIONALTEST=functionaltest-lua | ||
CMAKE_FLAGS="$CMAKE_FLAGS -DPREFER_LUA=ON" | ||
DEPS_CMAKE_FLAGS="$DEPS_CMAKE_FLAGS -DUSE_BUNDLED_LUAJIT=OFF" | ||
- os: linux | ||
# Travis creates a cache per compiler. Set a different value here to | ||
# store 32-bit dependencies in a separate cache. | ||
compiler: gcc | ||
env: BUILD_32BIT=ON | ||
- os: osx | ||
compiler: clang | ||
osx_image: xcode10.1 # macOS 10.13 | ||
- os: osx | ||
compiler: gcc | ||
osx_image: xcode10.1 # macOS 10.13 | ||
- if: branch = master | ||
os: linux | ||
env: CI_TARGET=lint | ||
- stage: Flaky builds | ||
os: linux | ||
compiler: gcc | ||
env: GCOV=gcov CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON" | ||
- os: linux | ||
compiler: clang | ||
env: CLANG_SANITIZER=TSAN | ||
allow_failures: | ||
- env: GCOV=gcov CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_GCOV=ON" | ||
- env: CLANG_SANITIZER=TSAN | ||
fast_finish: true | ||
|
||
before_install: ci/before_install.sh | ||
install: ci/install.sh | ||
before_script: ci/before_script.sh | ||
script: ci/script.sh | ||
before_cache: ci/before_cache.sh | ||
|
||
addons: | ||
apt: | ||
packages: | ||
- apport | ||
- autoconf | ||
- automake | ||
- build-essential | ||
- clang-4.0 | ||
- cmake | ||
- cscope | ||
- g++-multilib | ||
- gcc-multilib | ||
- gdb | ||
- gperf | ||
- language-pack-tr | ||
- libc6-dev-i386 | ||
- libtool-bin | ||
- locales | ||
- ninja-build | ||
- pkg-config | ||
- unzip | ||
- valgrind | ||
- xclip | ||
homebrew: | ||
update: true | ||
packages: | ||
- ccache | ||
- ninja | ||
|
||
branches: | ||
only: | ||
- master | ||
- /^release-\d+\.\d+$/ | ||
|
||
cache: | ||
apt: true | ||
ccache: true | ||
directories: | ||
- "$HOME/.cache/pip" | ||
- "$HOME/.cache/nvim-deps" | ||
- "$HOME/.cache/nvim-deps-downloads" | ||
|
||
notifications: | ||
webhooks: | ||
urls: | ||
- https://webhooks.gitter.im/e/b5c38c99f9677aa3d031 |
Oops, something went wrong.