I have also started seeing the same issue when building with travis and clang5.
The same branch built just fine a few weeks ago and now it no longer does. Something must have changed on the travis side related to sonar cloud.
(Sonar cloud is at the end of the following logs, just scroll at the very bottom)
See this new build created from the develop branch (I created a fresh branch from it to debug this): https://travis-ci.org/nfrechette/rtm/jobs/598154780
Old build for the develop branch that passed fine: https://travis-ci.org/nfrechette/rtm/jobs/584434299
I have been using clang5 and sonar cloud with little to no changes to the configuration or build script for many months now without any issues, and on multiple projects but this is the first build I’ve kicked in the last few weeks due to vacation and now it no longer works. The build works but sonar cloud appears to fail to find any generated object files.
You can find the travis file here: https://github.com/nfrechette/rtm/blob/990bc121fa322863edf0479a8099e2642726f17b/.travis.yml#L77
Two lines execute, the first cleans anything from previous builds and sets up the projects/makefiles. The second one builds everything (in RTM we just build unit tests for now, it is header only). No build errors happen and all objects files and executables compile fine.