-
Notifications
You must be signed in to change notification settings - Fork 923
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run scan-build (clang-tools based) static analyzer on all build variants.
- Loading branch information
Chaitanya Tata
committed
Dec 31, 2020
1 parent
66e2668
commit b38e2a0
Showing
1 changed file
with
12 additions
and
5 deletions.
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 |
---|---|---|
@@ -1,14 +1,21 @@ | ||
language: cpp | ||
|
||
addons: | ||
apt: | ||
packages: | ||
# Need for scan-build | ||
- clang-tools | ||
matrix: | ||
include: | ||
- os: linux | ||
compiler: gcc | ||
- os: linux | ||
compiler: clang | ||
- os: osx | ||
|
||
script: | ||
- make -C tests EXTRA_CFLAGS="-W -Wall -Wextra" | ||
- make -C tests clean ; make -C tests pedantic | ||
- make -C tests clean ; make -C tests pedantic EXTRA_CFLAGS=-DNO_DECLTYPE | ||
- make -C tests clean ; make -C tests cplusplus | ||
- make -C tests clean ; make -C tests cplusplus EXTRA_CFLAGS=-DNO_DECLTYPE | ||
- scan-build make -C tests EXTRA_CFLAGS="-W -Wall -Wextra" | ||
- make -C tests clean ; scan-build make -C tests pedantic | ||
- make -C tests clean ; scan-build make -C tests pedantic EXTRA_CFLAGS=-DNO_DECLTYPE | ||
- make -C tests clean ; scan-build make -C tests cplusplus | ||
- make -C tests clean ; scan-build make -C tests cplusplus EXTRA_CFLAGS=-DNO_DECLTYPE |