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

nlohmann / json / 3283
100%
develop: 99%

Build:
Build:
LAST BUILD BRANCH: vs-4041
DEFAULT BRANCH: develop
Ran 13 Jan 2019 06:28PM UTC
Jobs 1
Files 32
Run time 3s
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
3283

Pull #1428

travis-ci

web-flow
buildsystem: fix support for cmake older than 3.8

In e8b6b7ad, we relaxed the cmake version check down to 3.1, the first
version to expose target_compile_features().

However, an error while testing that change improperly concluded that
the change was OK. While target_compile_features() was indeed intriduced
in cmake 3.1, the actual feature we use it to test, cxx_std_11, was
really introduced only with cmake-3.8, which explained the actual
version that was requested before e8b6b7ad.

As Patrick noted, however, we can still convince cmake-3.1 to test
for C++11, by testing for an actual feature introduced in C++11, like
testing for cxx_range_for, which will instruct cmake to set the
appropriate C++11 options for the current compiler, which for gcc would
be adding -std=gnu++11.

Reported-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Pull Request #1428: buildsystem: fix support for cmake older than 3.8

4089 of 4089 relevant lines covered (100.0%)

13335676.29 hits per line

Jobs
ID Job ID Ran Files Coverage
6 3283.6 (COMPILER=g++-4.9 CMAKE_OPTIONS=-DJSON_Coverage=ON MULTIPLE_HEADERS=ON) 13 Jan 2019 06:28PM UTC 0
100.0
Travis Job 3283.6
Source Files on build 3283
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3283
  • Pull Request #1428
  • PR Base - develop (#3282)
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