-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cmake/Coverity: Force coverity to check _everything_
The current Cmake logic is set so that if things (like avahi) are not installed, it doesn't build or link against it. On normal systems this make sense. I recently noticed that coverity builds (which happen on the coverity servers, not on the Travis-CI servers), don't have external libraries installed, and then a few options don't get configured/added, and therefore, don't get checked. Add an option to the Cmake which blindly adds things (which is fine, since coverity doesn't actually compile/link things); so all backends and options get checked. Signed-off-by: Robin Getz <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ matrix: | |
- COVERITY_SCAN_PROJECT_NAME="$TRAVIS_REPO_SLUG" | ||
- COVERITY_SCAN_BRANCH_PATTERN="master" | ||
- COVERITY_SCAN_NOTIFICATION_EMAIL="[email protected]" | ||
- COVERITY_SCAN_BUILD_COMMAND_PREPEND="mkdir build && cd build && cmake -DWITH_EXAMPLES=ON .." | ||
- COVERITY_SCAN_BUILD_COMMAND_PREPEND="mkdir build && cd build && cmake -DCOVERITY_BUILD=ON -DWITH_EXAMPLES=ON .." | ||
- COVERITY_SCAN_BUILD_COMMAND="make" | ||
# The COVERITY_SCAN_TOKEN | ||
- secure: "QQt2l9IVo0xXWLx7Xqgz/4Iezj7YroY3MKfmG+OhtzkMRx4prhx32/07JMNAcYx6mQrccyZkBNzpYuXlfIZjFL3xDxDj5+iKv5XXpJbRFQGhc5xZtAlzOIqHNMcFc0Aj8J2mZwKfSaDnBdf+nMgKcmn46pYbpJOmPe9iEfeLvvg=" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters