core: added LGTM analysis config file
authorDaniel-Constantin Mierla <miconda@gmail.com>
Sun, 3 May 2020 09:37:44 +0000 (11:37 +0200)
committerDaniel-Constantin Mierla <miconda@gmail.com>
Sun, 3 May 2020 09:38:59 +0000 (11:38 +0200)
- LGTM is integrated by github

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

diff --git a/.lgtm.yml b/.lgtm.yml
new file mode 100644 (file)
index 0000000..b3fa71b
--- /dev/null
+++ b/.lgtm.yml
@@ -0,0 +1,29 @@
+extraction:
+  cpp:
+    prepare:
+      packages:
+      - "bison"
+      - "default-libmysqlclient-dev"
+      - "flex"
+      - "libcurl4-openssl-dev"
+      - "libjansson-dev"
+      - "libhiredis-dev"
+      - "liblua5.1-0-dev"
+      - "libpcre3-dev"
+      - "libncurses5-dev"
+      - "libpq-dev"
+      - "libreadline-dev"
+      - "libssl-dev"
+      - "libunistring-dev"
+      - "libxml2-dev"
+      - "pkg-config"
+      - "python3"
+      - "python3-dev"
+      - "uuid-dev"
+      - "zlib1g-dev"
+    after_prepare:
+    - "export PKG_CONFIG_PATH=$LGTM_WORKSPACE/usr/lib/pkgconfig:$PKG_CONFIG_PATH"
+    configure:
+      command: "make include_modules='app_lua app_python3 db_mysql db_postgres db_redis dialplan http_client jansson lcr ndb_redis presence presence_xml presence_dialoginfo pua pua_dialoginfo topos_redis uuid websocket xmlops' cfg"
+    index:
+      build_command: "make all"