summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-08-30 12:53:44 -0300
committerJesusaves <cpntb1@ymail.com>2021-08-30 12:53:44 -0300
commit8fcd9c245defd0ee1b235e3fc4f93c1ab40d2efb (patch)
tree4788cae50ac55611b11276f461ff4b33d9338afd /.gitlab-ci.yml
parente4e6f2c4d07cb2d6d68f268a997e6a2155633266 (diff)
downloadrenpy-8fcd9c245defd0ee1b235e3fc4f93c1ab40d2efb.tar.gz
renpy-8fcd9c245defd0ee1b235e3fc4f93c1ab40d2efb.tar.bz2
renpy-8fcd9c245defd0ee1b235e3fc4f93c1ab40d2efb.tar.xz
renpy-8fcd9c245defd0ee1b235e3fc4f93c1ab40d2efb.zip
Add some CI toys, which aren't good because, well, this is Ren'Py.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..ee5b8fb
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,29 @@
+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:
+ dependencies:
+ - pyflakes2
+
+bandit-sast:
+ dependencies:
+ - pyflakes2
+