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

nlohmann / json / 3283 / 6
100%
develop: 99%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/step-security/harden-runner-2.19.1
DEFAULT BRANCH: develop
Ran 13 Jan 2019 06:28PM UTC
Files 32
Run time 1s
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

13 Jan 2019 03:48PM UTC coverage: 100.0%. Remained the same
COMPILER=g++-4.9 CMAKE_OPTIONS=-DJSON_Coverage=ON MULTIPLE_HEADERS=ON

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

Source Files on job 3283.6 (COMPILER=g++-4.9 CMAKE_OPTIONS=-DJSON_Coverage=ON MULTIPLE_HEADERS=ON)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3060
  • Travis Job 3283.6
  • a995a3c1 on github
  • Prev Job for COMPILER=g++-4.9 CMAKE_OPTIONS=-DJSON_Coverage=ON MULTIPLE_HEADERS=ON on yem/fix-cxx11-old-cmake (#3282.6)
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