view .travis.yml @ 7121:a497a9868255 v7.4.872

commit https://github.com/vim/vim/commit/0600f3511c6018cbcdb170a904bcf6533a06bf2d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 15 19:18:18 2015 +0200 patch 7.4.872 Problem: Not using CI services available. Solution: Add configuration files for travis and appveyor. (PR #401)
author Christian Brabandt <cb@256bit.org>
date Tue, 15 Sep 2015 19:30:04 +0200
parents
children 7669c1269190
line wrap: on
line source

language: c

compiler:
  - clang
  - gcc

env:
  - COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge
    "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'"
  - COVERAGE=no FEATURES=small CONFOPT=
  - COVERAGE=no FEATURES=tiny  CONFOPT=

sudo: false

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)
  - ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && make -j$NPROC
  - ./src/vim --version
  - make test

after_success:
  - if [ x"$COVERAGE" = "xyes" ]; then ~/.local/bin/coveralls -b src -x .xs -e src/xxd -e src/if_perl.c --encodings utf-8 latin-1 EUC-KR; fi

# vim:set sts=2 sw=2 tw=0 et: