Mercurial > vim
comparison .travis.yml @ 11832:dbce4b707386 v8.0.0796
patch 8.0.0796: no coverage on Travis with clang
commit https://github.com/vim/vim/commit/d973bcb483088b69eb1aed3788476662fe6b77ef
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 28 18:01:58 2017 +0200
patch 8.0.0796: no coverage on Travis with clang
Problem: No coverage on Travis with clang.
Solution: Use a specific coveralls version. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/1888)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 28 Jul 2017 18:15:04 +0200 |
parents | 6aaaa8cac3e8 |
children | 94e37fd22556 |
comparison
equal
deleted
inserted
replaced
11831:2454134c3a7a | 11832:dbce4b707386 |
---|---|
28 sudo: false | 28 sudo: false |
29 | 29 |
30 # instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env), | 30 # instead of a 2*2*8 matrix (2*os + 2*compiler + 8*env), |
31 # exclude some builds on mac os x and linux | 31 # exclude some builds on mac os x and linux |
32 # linux: 2*compiler + 5*env + mac: 2*compiler + 2*env | 32 # linux: 2*compiler + 5*env + mac: 2*compiler + 2*env |
33 # Note: coverage currently does not work with clang, "setup.py install for cryptography" fails | |
34 matrix: | 33 matrix: |
35 exclude: | 34 exclude: |
36 - os: osx | 35 - os: osx |
37 env: BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no | 36 env: BUILD=yes TEST=test COVERAGE=no FEATURES=normal CONFOPT= SHADOWOPT="-C src/shadow" SRCDIR=./src/shadow CHECK_AUTOCONF=no |
38 - os: osx | 37 - os: osx |
49 - os: linux | 48 - os: linux |
50 compiler: gcc | 49 compiler: gcc |
51 env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer" | 50 env: BUILD=yes TEST=test SANITIZER_CFLAGS="-g -O1 -DABORT_ON_INTERNAL_ERROR -DEXITFREE -fsanitize=address -fno-omit-frame-pointer" |
52 FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" | 51 FEATURES=huge SRCDIR=./src CHECK_AUTOCONF=no ASAN_OPTIONS="print_stacktrace=1 log_path=asan" |
53 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'" | 52 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-luainterp'" |
54 - os: linux | |
55 compiler: clang | |
56 env: BUILD=yes TEST=scripttests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no | |
57 "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp'" | |
58 - os: linux | 53 - os: linux |
59 compiler: clang | 54 compiler: clang |
60 env: BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes | 55 env: BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes |
61 - os: linux | 56 - os: linux |
62 compiler: clang | 57 compiler: clang |
80 - liblua5.2-dev | 75 - liblua5.2-dev |
81 - lua5.2 | 76 - lua5.2 |
82 - cscope | 77 - cscope |
83 | 78 |
84 before_install: | 79 before_install: |
85 - if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls; fi | 80 - if [ "$COVERAGE" = "yes" ]; then pip install --user cpp-coveralls==0.3.12; fi |
86 # needed for https support for coveralls | 81 # needed for https support for coveralls |
87 # building cffi only works with gcc, not with clang | 82 # building cffi only works with gcc, not with clang |
88 - if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi | 83 - if [ "$COVERAGE" = "yes" ]; then CC=gcc pip install --user pyopenssl ndg-httpsclient pyasn1; fi |
89 # Lua is not installed on Travis OSX | 84 # Lua is not installed on Travis OSX |
90 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install lua; export LUA_PREFIX=/usr/local; fi | 85 - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install lua; export LUA_PREFIX=/usr/local; fi |