summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 06fbb000294bc97e646474f016a370980bdee8a6 (plain) (blame)
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
stages:
  - test

pyflakes2:
  stage: test
  script:
  - apt-get update
  - apt-get -y -qq install python2.7 pyflakes
  - mkdir debug
  - cp game/*.rpy debug/
  - cp game/*/*.rpy debug/
  - python rparse.py
  - pyflakes debug/
  image: debian:buster
  allow_failure: true

sast:
  stage: test
include:
- template: Security/SAST.gitlab-ci.yml

semgrep-sast:
  before_script:
    - mkdir debug
    - cp game/*.rpy debug/
    - cp game/*/*.rpy debug/
    - python rparse.py

bandit-sast:
  before_script:
    - mkdir debug
    - cp game/*.rpy debug/
    - cp game/*/*.rpy debug/
    - python rparse.py
    - mv debug/*-sast.py .
    - sleep 1