From 98ea2d8a478d1e2d55d9382e119cd05953d555d8 Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Tue, 16 Jun 2020 23:01:19 +0300 Subject: [PATCH] Update CI --- .gitlab-ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 897cd87..b6cf258 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,32 +34,32 @@ test: - python manage.py createdefaultadmin - python manage.py test -lint:pycodestyle: +lint:py: image: python:3.7 stage: lint - needs: [] + needs: ["install"] script: - pip install pycodestyle - - pycodestyle --config=setup.cfg --count . + - npm run lint:py -lint:eslint: +lint:js: image: node:alpine stage: lint needs: ["install"] script: - - npm run eslint + - npm run lint:js -lint:remark: +lint:md: image: node:alpine stage: lint needs: ["install"] script: - - npm run remark + - npm run lint:md publish: stage: publish image: docker:stable - needs: ["test", "lint:pycodestyle", "lint:eslint", "lint:remark"] + needs: ["test", "lint:py", "lint:js", "lint:md"] services: - docker:stable-dind only: