summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 61bdee3eb4068d7ed284c9988e41607f93166c19 (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:unstable

.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