summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: b6e93876649b30bdcd5df56fc3a67f0c11155458 (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
38
39
40
41
42
43
stages:
  - test

.pyflakes2:
  stage: test
  script:
  - apt-get update
  - apt-get -y -qq install python2.7 pyflakes
  - cp pass.json.example pass.json
  - pyflakes .
  image: debian:buster

pyflakes3:
  stage: test
  script:
  - apt-get update
  - apt-get -y -qq install python3 pyflakes3
  - cp pass.json.example pass.json
  - pyflakes3 .
  image: debian:buster

.install:
  stage: test
  script:
  - apt-get update
  - apt-get -y -qq install python2.7 mariadb-server mariadb-client
  - make initdb
  - ./server.py ci
  image: debian:buster

.skipci:
  stage: test
  script:
  - echo "do nothing"
  image: debian:stable
  variables:
    GIT_STRATEGY: none

sast:
  stage: test

include:
- template: Security/SAST.gitlab-ci.yml