forked from nasa/fprime
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.lgtm.yml
43 lines (41 loc) · 1.17 KB
/
.lgtm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
##############
# Configuration file for LGTM.com
# Currently only needed for cpp code since python and js works by default
#
# @author: Hunter Paulson
# @modified: 2020-07-15
##############
path_classifiers:
docs:
- docs
queries:
- include: cpp/incorrect-not-operator-usage
- include:
tags:
- "correctness"
- include:
tags:
- "reliability"
extraction:
cpp:
prepare:
packages:
- "python3"
- "python3-pip"
- "python3-venv"
after_prepare:
# setup the venv and install packages
- "python3 -m venv ./fprime-venv"
- ". ./fprime-venv/bin/activate"
- "pip install -U setuptools setuptools_scm wheel pip"
- "wget https://github.com/sbt/sbt/releases/download/v1.6.2/sbt-1.6.2.tgz"
- "tar -xzf sbt-1.6.2.tgz"
- "export PATH=$PATH:$LGTM_SRC/sbt/bin"
- "pip install -r ./requirements.txt"
configure:
command:
before_index:
- "fprime-util generate"
index:
build_command:
- "fprime-util build --all"