Skip to content
.gitlab-ci.yml 1.03 KiB
Newer Older
  - "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"
Florent Fourcot's avatar
Florent Fourcot committed
  stage: "build"
    - "./tools/local_install.sh --local-modules ~/bin"
pyflakes:3:
Florent Fourcot's avatar
Florent Fourcot committed
  stage: "test"
      - "./tools/pyflakes.sh"
  image: "python:3"
  stage: "test"
  script:
    # TODO: move to .ci/requirements.txt
    - "pip install flake8-bugbear"
    - "./tools/pyflakes-strict.sh"
load-modules:3:
  image: "python:3"
Florent Fourcot's avatar
Florent Fourcot committed
  stage: "test"
  script:
    - "./tools/local_run.sh weboob-config update"

unittests:3:
  image: "python:3"
Florent Fourcot's avatar
Florent Fourcot committed
  stage: "test"
    - "./tools/run_tests.sh --no-modules"

unittests-modules:3:
  image: "python:3"
  stage: "test"
  allow_failure: true
  script:
    - "./tools/run_tests.sh --no-core"
Florent Fourcot's avatar
Florent Fourcot committed
  stage: "deploy"
  script:
    - "cd ./docs && make html"