]> granicus.if.org Git - curl/commitdiff
CI: add lgtm.yml for tweaking lgtm.com analysis
authorBas van Schaik <github@s.traiectum.net>
Wed, 21 Mar 2018 12:27:28 +0000 (12:27 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 21 Mar 2018 23:04:55 +0000 (00:04 +0100)
Closes #2414

.lgtm.yml [new file with mode: 0644]

diff --git a/.lgtm.yml b/.lgtm.yml
new file mode 100644 (file)
index 0000000..bb6945f
--- /dev/null
+++ b/.lgtm.yml
@@ -0,0 +1,10 @@
+extraction:
+  cpp:
+    prepare:
+      packages: # to avoid confusion with libopenafs-dev which also provides a des.h
+        - libssl-dev
+    after_prepare: # make sure lgtm.com doesn't use CMake (which generates and runs tests)
+      - rm -f CMakeLists.txt
+      - ./buildconf
+    configure: # enable as many optional features as possible
+      command: ./configure --enable-ares --with-libssh2 --with-gssapi --with-librtmp --with-libmetalink --with-libmetalink