Mercurial > vim
comparison .travis.yml @ 9544:8e797fc5ab0c v7.4.2052
commit https://github.com/vim/vim/commit/c3e539fa703b23d9a24c3520c96ec305ee932cb4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 16 20:37:56 2016 +0200
patch 7.4.2052
Problem: Coverage report is messed up by the unittests.
Solution: Add a separate test target for script tests. Use that when
collecting coverage information.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 16 Jul 2016 20:45:09 +0200 |
parents | 8d09c2ce1825 |
children | 7d76bef94122 |
comparison
equal
deleted
inserted
replaced
9543:69b7bcb20b05 | 9544:8e797fc5ab0c |
---|---|
35 script: | 35 script: |
36 - NPROC=$(getconf _NPROCESSORS_ONLN) | 36 - NPROC=$(getconf _NPROCESSORS_ONLN) |
37 - if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi | 37 - if [ "$CHECK_AUTOCONF" = "yes" -a "$CC" = "gcc" ]; then make -C src autoconf; fi |
38 - if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi && (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && make -j$NPROC) | 38 - if [ "x$SHADOWOPT" != x ]; then make -C src shadow; fi && (cd ${SRCDIR} && ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && make -j$NPROC) |
39 - ${SRCDIR}/vim --version | 39 - ${SRCDIR}/vim --version |
40 - make $SHADOWOPT test | 40 - make $SHADOWOPT scripttests |
41 | 41 |
42 after_success: | 42 after_success: |
43 - 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 | 43 - 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 |
44 | 44 |
45 # vim:set sts=2 sw=2 tw=0 et: | 45 # vim:set sts=2 sw=2 tw=0 et: |