view .travis.yml @ 7387:702f694c9396 v7.4.998

commit https://github.com/vim/vim/commit/f9c8bd2137b045f9a64d63eefcf022b4726b1419 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 29 21:34:48 2015 +0100 patch 7.4.998 Problem: Running tests in shadow directory fails. Test 49 fails. Solution: Link more files for the shadow directory. Make test 49 end up in the right buffer.
author Christian Brabandt <cb@256bit.org>
date Tue, 29 Dec 2015 21:45:04 +0100
parents 160f4b03d8d0
children 7ec544daecd5
line wrap: on
line source

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'"
  - COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src
  - COVERAGE=no FEATURES=tiny  CONFOPT= SHADOWOPT= SRCDIR=./src

sudo: false

branches:
  except:
    - /^v[0-9]/

addons:
  apt:
    packages:
      - 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 [ "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: