Update CI

This commit is contained in:
Aarni Halinen
2020-06-16 23:01:19 +03:00
parent 0b9aed128a
commit 98ea2d8a47
+8 -8
View File
@@ -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: