From 6ee8a03b7312b603fe8faec703432f52eb92ea62 Mon Sep 17 00:00:00 2001 From: Florent Fourcot Date: Wed, 30 Aug 2017 12:15:46 +0200 Subject: [PATCH] ci: remove custom steps --- .gitlab-ci.yml | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c2517f753f..7cad88b3a6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,76 +3,64 @@ before_script: - "REQUIREMENTS=$(mktemp) && python setup.py requirements > ${REQUIREMENTS} && pip install -r ${REQUIREMENTS} && rm ${REQUIREMENTS}" - "pip install -r .ci/requirements_modules.txt" -stages: - - "build27" - - "test27" - - "deploy27" - - "build3" - - "test3" - - "deploy3" - build:2.7: image: "python:2.7" - stage: "build27" + stage: "build" script: - "./tools/local_install.sh ~/bin" pyflakes:2.7: image: "python:2.7" - stage: "test27" + stage: "test" script: - "./tools/pyflakes.sh" lint:2.7: image: "python:2.7" - stage: "test27" + stage: "test" allow_failure: true script: - "./tools/weboob_lint.sh" unittests:2.7: image: "python:2.7" - stage: "test27" + stage: "test" script: - "./tools/run_tests.sh" doc:2.7: image: "python:2.7" - stage: "deploy27" + stage: "deploy" script: - "cd ./docs && make html" build:3: image: "python:3" - stage: "build3" - when: always + stage: "build" script: - "./tools/local_install.sh ~/bin" pyflakes:3: image: "python:3" - stage: "test3" - when: always + stage: "test" script: - "./tools/pyflakes.sh" lint:3: image: "python:3" - stage: "test3" - when: always + stage: "test" allow_failure: true script: - "./tools/weboob_lint.sh" unittests:3: image: "python:3" - stage: "test3" - when: always + stage: "test" script: - "./tools/run_tests.sh -3" doc:3: image: "python:3" - stage: "deploy3" + stage: "deploy" script: - "cd ./docs && make html" -- GitLab