-
Notifications
You must be signed in to change notification settings - Fork 2
/
.lgtm.yml
27 lines (25 loc) · 841 Bytes
/
.lgtm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# This config file facilitates automated static analysis on lgtm.com.
path_classifiers:
test:
- exclude: /
- "src/*hpp"
- "examples/*cc"
extraction:
cpp:
prepare:
packages:
# Explicitly install known packages.
- "git"
- "cmake"
- "make"
- "g++"
- "rsync"
after_prepare:
# Create an accessible installation root directory.
- "mkdir -pv $LGTM_WORKSPACE/placeholder_root/{include,lib,bin,share}"
# Test installation script by Installing headers to an accessible and user-writeable directory.
- "cd $LGTM_SRC"
- "./compile_and_install.sh -u -i $LGTM_WORKSPACE/placeholder_root -b build"
index:
# Compile the examples to provide an analysis entrypoint.
build_command: "cd examples/ && CPLUS_INCLUDE_PATH=$LGTM_SRC/src ./compile.sh"