]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add config for lgtm.com 6538/head
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Mon, 30 Apr 2018 12:10:07 +0000 (14:10 +0200)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Mon, 30 Apr 2018 18:16:36 +0000 (20:16 +0200)
lgtm.yml [new file with mode: 0644]

diff --git a/lgtm.yml b/lgtm.yml
new file mode 100644 (file)
index 0000000..4b7b488
--- /dev/null
+++ b/lgtm.yml
@@ -0,0 +1,34 @@
+path_classifiers:
+  test: "regression-tests*"
+  library:
+  - "ext"
+  - exclude: ext/luawrapper
+  - exclude: ext/yahttp
+  - "docs"
+  - "pdns/recursordist/html/js"
+  - "pdns/dnsdistdist/src_js"
+  - "pdns/dnsdistdist/html/js"
+extraction:
+  cpp:
+    configure:
+      command:
+      - "pushd pdns/dnsdistdist"
+      - "sed -i '/^dist_man_MANS/d' Makefile.am"
+      - "autoreconf -vi && ./configure"
+      - "popd"
+      - "pushd pdns/recursordist/"
+      - "sed -i '/^dist_man_MANS/d' Makefile.am"
+      - "autoreconf -vi && ./configure"
+      - "popd"
+      - "sed -i 's/codedocs docs//' Makefile.am"
+      - "autoreconf -vi"
+      - "./configure --with-modules='bind gsqlite3 gmysql gpgsql ldap'"
+    index:
+      build_command:
+      - "pushd pdns/dnsdistdist"
+      - "make"
+      - "popd"
+      - "pushd pdns/recursordist"
+      - "make"
+      - "popd"
+      - "make"