diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ccc7e8ea8d2898569145b223e665aa49bf4dd767..1a201a56350ac9c1bb0fb76d629eeba5fdd59d02 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,19 @@ image: python:latest stages: + - validate - test before_script: - python -V check: - stage: test + stage: validate script: - - pip install flake8 - - flake8 karma.py --max-line-length 120 + - pip install flake8 + - flake8 karma.py --max-line-length 120 -test: +pytest: stage: test script: - - pip install errbot pytest - - pytest + - pip install errbot pytest + - pytest