aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.lgtm.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.lgtm.yml b/.lgtm.yml
new file mode 100644
index 0000000..6e3506a
--- /dev/null
+++ b/.lgtm.yml
@@ -0,0 +1,33 @@
+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:
+ - g++-8
+ - libcapstone-dev
+ - libllvm6.0
+ 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