diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-12-29 20:32:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-12-29 20:32:23 +0100 |
commit | 4c7bb12c82914307e6bbb73d95cfb3ba7189813a (patch) | |
tree | 67bdbf9e61c91c90269d83fbd559c894429066d4 /.travis.yml | |
parent | 256972a9849b5d575b62a6a71be5b6934b5b0e8b (diff) | |
download | vim-git-4c7bb12c82914307e6bbb73d95cfb3ba7189813a.tar.gz |
patch 7.4.997v7.4.997
Problem: "make shadow" was sometimes broken.
Solution: Add a test for it. (James McCoy, closes #520)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index 0ef9f5721..e6a12933f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,10 @@ compiler: - gcc env: - - COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge + - 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= - - COVERAGE=no FEATURES=tiny CONFOPT= + - COVERAGE=no FEATURES=small CONFOPT= SHADOWOPT= SRCDIR=./src + - COVERAGE=no FEATURES=tiny CONFOPT= SHADOWOPT= SRCDIR=./src sudo: false @@ -31,11 +31,11 @@ before_install: script: - NPROC=$(getconf _NPROCESSORS_ONLN) - - ./configure --with-features=$FEATURES $CONFOPT --enable-fail-if-missing && make -j$NPROC - - ./src/vim --version - - make test + - 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 src -x .xs -e src/xxd -e src/if_perl.c --encodings utf-8 latin-1 EUC-KR; fi + - 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: |