travisqmakeclangcpp17libfuzzer

April 28, 2017 ยท View on GitHub

BranchTravis CI logo
masterBuild Status
developBuild Status

This GitHub is part of the Travis C++ Tutorial.

The goal of this project is to have a clean Travis CI build, with specs:

  • Build system: qmake
  • C++ compiler: clang
  • C++ version: C++14
  • Libraries: STL only
  • Code coverage: none
  • Fuzz testing: libFuzzer
  • Source: one single file, main.cpp

More complex builds:

Equally complex builds:

  • [none]

Less complex builds:

Troubleshooting

clang: error: unknown argument: '-fsanitize-coverage=trace-pc-guard'

For that flag, one needs at least clang 4.0.

As of 2017-04-27, the version that can be install from packages is clang 3.8.

See travis_qmake_clang_cpp17_libfuzzer how to install clang's most recent version.

Most recent package or trunk?

The trunk is the most recent (and thus unstable) clang version. It is used in this example: travis_qmake_clang_cpp17

The most recent clang package available is used in this example: travis_qmake_clang_cpp14

For libFuzzer, as of 2017-04-28, only the trunk has a version high enough.