summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 78652de2ecb320f3e536b2c37c17146f1ad3beab (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
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