summaryrefslogtreecommitdiffstats
path: root/.lgtm.yml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-15 12:29:26 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-03-16 20:24:08 -0700
commitd04a018020a26245e030ed1c5f88a6543dc39e8f (patch)
tree127262fab2b4c3ead34c23edae1ca5fe1b3211ca /.lgtm.yml
parent4dd6b826348ca5cdaaa3deba881bc4fe02595589 (diff)
downloadsubsurface-d04a018020a26245e030ed1c5f88a6543dc39e8f.tar.gz
build-system: add LGTM yaml file
This should allow LGTM.com to build the C/C++ code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.lgtm.yml')
-rw-r--r--.lgtm.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/.lgtm.yml b/.lgtm.yml
new file mode 100644
index 000000000..adc45e1b7
--- /dev/null
+++ b/.lgtm.yml
@@ -0,0 +1,44 @@
+path_classifiers:
+ test:
+ - "tests/*"
+
+extraction:
+ cpp:
+ prepare:
+ packages:
+ - libxml2-dev
+ - libxslt1-dev
+ - libzip-dev
+ - libsqlite3-dev
+ - libusb-1.0-0-dev
+ - libssl-dev
+ - libssh2-1-dev
+ - libcurl4-gnutls-dev
+ - libkrb5-dev
+ - libhttp-parser-dev
+ - libgit2-dev
+ - libcrypto++-dev
+ - libqt5qml5
+ - libqt5quick5
+ - libqt5svg5-dev
+ - libqt5webkit5-dev
+ - libsqlite3-dev
+ - qml-module-qtlocation
+ - qml-module-qtpositioning
+ - qml-module-qtquick2
+ - qt5-default
+ - qt5-qmake
+ - qtchooser
+ - qtconnectivity5-dev
+ - qtdeclarative5-dev
+ - qtdeclarative5-private-dev
+ - qtlocation5-dev
+ - qtpositioning5-dev
+ - qtscript5-dev
+ - qttools5-dev
+ - qttools5-dev-tools
+ - qtquickcontrols2-5-dev
+ after_prepare:
+ - export INSTALL_ROOT=/opt/out
+ - export PKG_CONFIG_PATH=$INSTALL_ROOT/lib/pkgconfig:$PKG_CONFIG_PATH
+ - bash -x ./scripts/build-libdivecomputer.sh