summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: b389717508c12e098707dbc26e9db6119f7a12d2 (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
stages:
  - test
  - success
  - failure

pyflakes2:
  stage: test
  script:
  - ./ci/install.sh python2.7 pyflakes
  - pyflakes .
  image: debian:stable

.pyflakes3:
  stage: test
  script:
  - ./ci/install.sh python3 pyflakes3
  - pyflakes3 .
  image: debian:unstable

success:
  stage: success
  script:
  - echo "do nothing"
  image: debian:stable
  when: on_success
  variables:
    GIT_STRATEGY: none

failure:
  stage: failure
  script:
  - echo "do nothing"
  image: debian:stable
  when: on_failure
  variables:
    GIT_STRATEGY: none