CI: add lgtm.yml for tweaking lgtm.com analysis

Closes #2414
This commit is contained in:
Bas van Schaik 2018-03-21 12:27:28 +00:00 committed by Daniel Stenberg
parent 3ff09ce777
commit db122fddf3
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 10 additions and 0 deletions

10
.lgtm.yml Normal file
View File

@ -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