.gitlab-ci.yml 1.07 KB
Newer Older
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
44
image: python:latest

stages:
  - lint
  - tests

lint_py:
  stage: lint
  before_script:
    - pip install tox
  script:
    - tox -e flake8

lint_manifest:
  stage: lint
  before_script:
    - pip install tox
  script:
    - tox -e check-manifest

lint_doc8:
  stage: lint
  before_script:
    - pip install tox
  script:
    - tox -e doc8

lint_doc:
  stage: lint
  before_script:
    - pip install tox
  script:
    - tox -e doc
  allow_failure: true  # XXX fix me

py3_server:
  stage: tests
  image: r.intra.logilab.fr/jenkins/jnlp:buster
  script:
    - tox -e py3-server

py3_web:
  stage: tests
  image: r.intra.logilab.fr/jenkins/jnlp:buster
45
46
  before_script:
    - sudo apt update && sudo apt install -y firefox-esr
47
48
49
50
51
52
  script:
    - tox -e py3-web

py3_misc:
  stage: tests
  image: r.intra.logilab.fr/jenkins/jnlp:buster
53
54
  before_script:
    - sudo apt update && sudo apt install -y firefox-esr
55
56
  script:
    - tox -e py3-misc
Laurent Peuch's avatar
Laurent Peuch committed
57
58
59
60
61
62
63
64

py3-from-forge:
  stage: tests
  image: r.intra.logilab.fr/jenkins/jnlp:buster
  before_script:
    - pip install tox
  script:
    - tox -e py3-from-forge