Browse Source

Merge pull request #541 from dota17/coveralls_final

add coveralls auto tool to json-c
tags/json-c-0.14-20200419
Chen GitHub 5 years ago
parent
commit
d1650a582e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions
  1. +28
    -0
      .travis.yml

+ 28
- 0
.travis.yml View File

@@ -78,6 +78,34 @@ matrix:
osx_image: xcode10.1
env: XCODE="true" CHECK="true"
# run coveralls
- os: linux
dist: xenial
compiler: gcc
env: CHECK="true"
install:
- sh autogen.sh
before_install:
- sudo pip install cpp-coveralls
- echo $CC
- echo $LANG
- echo $LC_ALL
- set -e
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
eval "${MATRIX_EVAL}";
if [ -n "$MATRIX_EVAL" ] && [ "$TRAVIS_COMPILER" != "clang" ]; then
sudo apt-get install -y $CC;
fi;
fi
before_script:
- export CFLAGS="-fprofile-arcs -ftest-coverage"
- ./configure
script:
- make
- make check
after_success:
- coveralls --exclude tests --exclude fuzz
# allow_failures:
# - os: osx


Loading…
Cancel
Save