Newer
Older
before_script:
- "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"
build:2.7:
script:
- "./tools/local_install.sh ~/bin"
image: "python:2.7"
script:
- "./tools/pyflakes.sh"
- "./tools/weboob_lint.sh"
unittests:2.7:
image: "python:2.7"
- "./tools/run_tests.sh --no-modules"
unittests-modules:2.7:
image: "python:2.7"
stage: "test"
allow_failure: true
script:
- "./tools/run_tests.sh --no-core"
doc:2.7:
image: "python:2.7"
script:
- "cd ./docs && make html"
build:3:
unittests:3:
image: "python:3"
- "./tools/run_tests.sh -3 --no-modules"
unittests-modules:3:
image: "python:3"
stage: "test"
allow_failure: true
script:
- "./tools/run_tests.sh -3 --no-core"
doc:3:
image: "python:3"
script:
- "cd ./docs && make html"