mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
75335f01a0
Coverity is now handled by neovim/bot-ci.
25 lines
824 B
YAML
25 lines
824 B
YAML
language: c
|
|
env:
|
|
global:
|
|
- PROJECT_ROOT="$(pwd)"
|
|
- CI_SCRIPTS="$PROJECT_ROOT/.ci"
|
|
matrix:
|
|
- CI_TARGET=clang-asan
|
|
- CI_TARGET=gcc
|
|
- CI_TARGET=gcc-32
|
|
- CI_TARGET=clint
|
|
before_install:
|
|
# Adds user to a dummy group.
|
|
# That allows to test changing the group of the file by `os_fchown`.
|
|
- sudo groupadd chown_test
|
|
- sudo usermod -a -G chown_test ${USER}
|
|
# Need xvfb for running some tests with xclip
|
|
- export DISPLAY=:99.0
|
|
- sh -e /etc/init.d/xvfb start
|
|
- sudo apt-get install xclip gdb
|
|
script:
|
|
# This will pass the environment variables down to a bash process which runs
|
|
# as $USER, while retaining the environment variables defined and belonging
|
|
# to secondary groups given above in usermod.
|
|
- sudo -E su ${USER} -c "ulimit -c 102400; sh -e \"${CI_SCRIPTS}/${CI_TARGET}.sh\""
|