]> granicus.if.org Git - vim/commitdiff
patch 8.0.0796: no coverage on Travis with clang v8.0.0796
authorBram Moolenaar <Bram@vim.org>
Fri, 28 Jul 2017 16:01:58 +0000 (18:01 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 28 Jul 2017 16:01:58 +0000 (18:01 +0200)
Problem:    No coverage on Travis with clang.
Solution:   Use a specific coveralls version. (Ozaki Kiichi, closes #1888)

.travis.yml
src/version.c

index a6db9e7f696a5d4588e482b8c4dd0acd1efbe079..17f04180753bda8a14693b5a066a67515bf21a3a 100644 (file)
@@ -30,7 +30,6 @@ sudo: false
 # instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env),
 # exclude some builds on mac os x and linux
 # linux: 2*compiler + 5*env + mac: 2*compiler + 2*env
-# Note: coverage currently does not work with clang, "setup.py install for cryptography" fails
 matrix:
   exclude:
     - os: osx
@@ -51,10 +50,6 @@ matrix:
       env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer"
             FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan"
             "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'"
-    - os: linux
-      compiler: clang
-      env: BUILD=yes TEST=scripttests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no
-           "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'"
     - os: linux
       compiler: clang
       env: BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes
@@ -82,7 +77,7 @@ addons:
       - cscope
 
 before_install:
-  - if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls; fi
+  - if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls==0.3.12; fi
     # needed for https support for coveralls
     # building cffi only works with gcc, not with clang
   - if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi
index 49d553f6c1c771d2a238221fedd244d57c7ff042..9ca870091765de3f262d71c4e2cd8f5acad3f785 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    796,
 /**/
     795,
 /**/