Skip to content
.gitlab-ci.yml 1.47 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"
  image: "python:2.7"
Florent Fourcot's avatar
Florent Fourcot committed
  stage: "build"
    - "./tools/local_install.sh -2 ~/bin"
pyflakes:2.7:
Florent Fourcot's avatar
Florent Fourcot committed
  stage: "test"
    - "./tools/pyflakes.sh -2"

lint:2.7:
  image: "python:2.7"
Florent Fourcot's avatar
Florent Fourcot committed
  stage: "test"
  allow_failure: true
  script:
    - "./tools/weboob_lint.sh -2"

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

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

build:3:
Florent Fourcot's avatar
Florent Fourcot committed
  stage: "build"
    - "./tools/local_install.sh ~/bin"
pyflakes:3:
Florent Fourcot's avatar
Florent Fourcot committed
  stage: "test"
      - "./tools/pyflakes.sh"

lint:3:
  image: "python:3"
Florent Fourcot's avatar
Florent Fourcot committed
  stage: "test"
  allow_failure: true
  script:
    - "./tools/weboob_lint.sh"

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"