.gitlab-ci.yml 869 Bytes
Newer Older
1
before_script:
2 3 4
  - "pip install -r .ci/requirements.txt"
  - "REQUIREMENTS=$(mktemp) && python setup.py requirements > ${REQUIREMENTS} && pip install -r ${REQUIREMENTS} && rm ${REQUIREMENTS}"
  - "pip install -r .ci/requirements_modules.txt"
5 6

build:3:
7
  image: "python:3"
8
  stage: "build"
9
  script:
10
    - "./tools/local_install.sh --local-modules ~/bin"
11

12
pyflakes:3:
13
  image: "python:3"
14
  stage: "test"
15
  script:
16
      - "./tools/pyflakes.sh"
17 18 19

lint:3:
  image: "python:3"
20
  stage: "test"
21 22
  allow_failure: true
  script:
23
    - "./tools/weboob_lint.sh"
24 25 26

unittests:3:
  image: "python:3"
27
  stage: "test"
28
  script:
29
    - "./tools/run_tests.sh --no-modules"
30 31 32 33 34 35

unittests-modules:3:
  image: "python:3"
  stage: "test"
  allow_failure: true
  script:
36
    - "./tools/run_tests.sh --no-core"
37 38 39

doc:3:
  image: "python:3"
40
  stage: "deploy"
41 42
  script:
    - "cd ./docs && make html"