mirror of
https://github.com/zoriya/vim.git
synced 2026-05-27 00:37:39 +00:00
7b5f0a15bc
Problem: Travis could check a few more things. Solution: Run autoconf on one of the builds. (James McCoy, closes #510) Also build with normal features.
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
language: c
|
|
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
|
|
env:
|
|
- COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow
|
|
"CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'"
|
|
CHECK_AUTOCONF=yes
|
|
- COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
|
- COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
|
- COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
|
|
|
|
sudo: false
|
|
|
|
branches:
|
|
except:
|
|
- /^v[0-9]/
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- autoconf
|
|
- lcov
|
|
- libperl-dev
|
|
- python-dev
|
|
- python3-dev
|
|
- liblua5.1-0-dev
|
|
- lua5.1
|
|
|
|
before_install:
|
|
- pip install --user cpp-coveralls
|
|
|
|
script:
|
|
- NPROC=$(getconf _NPROCESSORS_ONLN)
|
|
- if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi
|
|
- if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi && (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && make -j$NPROC)
|
|
- ${SRCDIR}/vim --version
|
|
- make $SHADOWOPT test
|
|
|
|
after_success:
|
|
- if [ x"$COVERAGE" = "xyes" ]; then ~/.local/bin/coveralls -b $SRCDIR -x .xs -e ${SRCDIR}/xxd -e ${SRCDIR}/if_perl.c --encodings utf-8 latin-1 EUC-KR; fi
|
|
|
|
# vim:set sts=2 sw=2 tw=0 et:
|