forked from syslog-ng/syslog-ng
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.lgtm.yml
More file actions
19 lines (17 loc) · 750 Bytes
/
.lgtm.yml
File metadata and controls
19 lines (17 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Disable LGTM's built-in query to detect unsafe uses of gmtime; there's a
# custom query to check for that
queries:
- exclude: cpp/potentially-dangerous-function
extraction:
cpp:
prepare:
packages:
- autoconf-archive
- openjdk-8-jdk-headless
after_prepare:
- export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:$PATH
- export LD_LIBRARY_PATH=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server:$LD_LIBRARY_PATH
- export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
- cd /tmp && wget https://ftp.gnu.org/gnu/bison/bison-3.6.4.tar.gz && tar -xzf bison-3.6.4.tar.gz
- cd /tmp/bison-3.6.4 && ./configure --prefix=/tmp/bison && make all install
- export PATH=/tmp/bison/bin/:$PATH