-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.lgtm.yml
32 lines (32 loc) · 1.09 KB
/
.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
28
29
30
31
32
path_classifiers:
test:
- "*/*/test_*.cpp"
docs:
- README.md
- LICENSE.txt
queries:
- exclude: cpp/use-of-goto
extraction:
cpp:
prepare: # Customizable step used by all languages.
packages:
- libcapstone-dev
- llvm-8-dev
after_prepare: # Customizable step used by all languages.
- mkdir -p $LGTM_WORKSPACE/latest-gcc-symlinks
- ln -s /usr/bin/g++-6 $LGTM_WORKSPACE/latest-gcc-symlinks/g++
- ln -s /usr/bin/gcc-6 $LGTM_WORKSPACE/latest-gcc-symlinks/gcc
- export PATH=$LGTM_WORKSPACE/latest-gcc-symlinks:$PATH
- export GNU_MAKE=make
- export GIT=true
configure: # Customizable step used only by C/C++ extraction.
command:
- ./extra-tools/keystoneubuntu.sh
before_index: # Customizable step used by all languages.
- export BOOST_DIR=$LGTM_SRC/boost
- export GTEST_DIR=$LGTM_SRC/googletest
- export HUNSPELL_DIR=$LGTM_SRC/hunspell
- export CRYPTOPP_DIR=$LGTM_SRC/cryptopp
index: # Customizable step used by all languages.
build_command:
- $GNU_MAKE -j2