• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

epam / nfstrace / 61
47%

Build:
DEFAULT BRANCH: master
Ran 12 Nov 2016 01:31PM UTC
Jobs 1
Files 139
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
61

push

travis-ci

ailyasov
Fixed compilation issue for some distributions what have jsoncpp installed
and its headers were in include path.

There are two json libraries : libjson-c and jsoncpp.
Both libraries have header with same name - json.h.
nfstrace uses libjson-c but on some linux distributions installed jsoncpp could cause
compilation errors.
Headers of jsoncpp library should not be in the include path.

Also /usr/include/json/features.h header from jsoncpp had issues with /usr/include/c++/6/parallel/features.h:
In file included from /usr/include/json/features.h:10:0,
                 from /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:39,
                 from /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:482,
                 from /usr/include/c++/5/type_traits:38,
                 from /usr/include/c++/5/ratio:38,
                 from /usr/include/c++/5/chrono:38,
                 from .../nfstrace-0.4.3/analyzers/src/json/json_tcp_service.cpp:22:

Updated FindJSON.cmake to  include only libjson-c headers by
searching for json_c_version.h file which exists only for libjson-c.

Previously it included both /usr/include/json-c and /usr/include/json
which might not be desired as on some distributions headers of jsoncpp are located in /usr/include/json.

Debian and Ubuntu have json-c in /usr/include/json-c and jsoncpp in /usr/include/jsoncpp/json
Arch and Fedora have json-c in /usr/include/json-c and jsoncpp in /usr/include/json

8534 of 18027 relevant lines covered (47.34%)

70301.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 61.1 (COMPILER=g++-6 CXX_FLAGS="-g -O0 -fprofile-arcs -ftest-coverage -fPIC" C_FLAGS="-g -O0 -fprofile-arcs -ftest-coverage" gcov="/usr/bin/gcov-6") 12 Nov 2016 01:31PM UTC 0
47.34
Travis Job 61.1
Source Files on build 61
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #61
  • 25740312 on github
  • Prev Build on master (#59)
  • Next Build on master (#63)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc