Commit 6ee8a03b authored by Florent Fourcot's avatar Florent Fourcot

ci: remove custom steps

parent 9170b372
...@@ -3,76 +3,64 @@ before_script: ...@@ -3,76 +3,64 @@ before_script:
- "REQUIREMENTS=$(mktemp) && python setup.py requirements > ${REQUIREMENTS} && pip install -r ${REQUIREMENTS} && rm ${REQUIREMENTS}" - "REQUIREMENTS=$(mktemp) && python setup.py requirements > ${REQUIREMENTS} && pip install -r ${REQUIREMENTS} && rm ${REQUIREMENTS}"
- "pip install -r .ci/requirements_modules.txt" - "pip install -r .ci/requirements_modules.txt"
stages:
- "build27"
- "test27"
- "deploy27"
- "build3"
- "test3"
- "deploy3"
build:2.7: build:2.7:
image: "python:2.7" image: "python:2.7"
stage: "build27" stage: "build"
script: script:
- "./tools/local_install.sh ~/bin" - "./tools/local_install.sh ~/bin"
pyflakes:2.7: pyflakes:2.7:
image: "python:2.7" image: "python:2.7"
stage: "test27" stage: "test"
script: script:
- "./tools/pyflakes.sh" - "./tools/pyflakes.sh"
lint:2.7: lint:2.7:
image: "python:2.7" image: "python:2.7"
stage: "test27" stage: "test"
allow_failure: true allow_failure: true
script: script:
- "./tools/weboob_lint.sh" - "./tools/weboob_lint.sh"
unittests:2.7: unittests:2.7:
image: "python:2.7" image: "python:2.7"
stage: "test27" stage: "test"
script: script:
- "./tools/run_tests.sh" - "./tools/run_tests.sh"
doc:2.7: doc:2.7:
image: "python:2.7" image: "python:2.7"
stage: "deploy27" stage: "deploy"
script: script:
- "cd ./docs && make html" - "cd ./docs && make html"
build:3: build:3:
image: "python:3" image: "python:3"
stage: "build3" stage: "build"
when: always
script: script:
- "./tools/local_install.sh ~/bin" - "./tools/local_install.sh ~/bin"
pyflakes:3: pyflakes:3:
image: "python:3" image: "python:3"
stage: "test3" stage: "test"
when: always
script: script:
- "./tools/pyflakes.sh" - "./tools/pyflakes.sh"
lint:3: lint:3:
image: "python:3" image: "python:3"
stage: "test3" stage: "test"
when: always
allow_failure: true allow_failure: true
script: script:
- "./tools/weboob_lint.sh" - "./tools/weboob_lint.sh"
unittests:3: unittests:3:
image: "python:3" image: "python:3"
stage: "test3" stage: "test"
when: always
script: script:
- "./tools/run_tests.sh -3" - "./tools/run_tests.sh -3"
doc:3: doc:3:
image: "python:3" image: "python:3"
stage: "deploy3" stage: "deploy"
script: script:
- "cd ./docs && make html" - "cd ./docs && make html"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment