Minor CI changes

This commit is contained in:
Aarni Halinen
2020-03-09 18:08:43 +02:00
parent 648feaa762
commit d3350c06e0
+9 -8
View File
@@ -1,11 +1,12 @@
stages:
- qa
- lint
- test
- publish
- deploy
test:
image: python:3.7
stage: qa
stage: test
services:
- postgres:12
variables:
@@ -21,24 +22,24 @@ test:
- python manage.py createdefaultadmin
- python manage.py test
pycodestyle:
lint:pycodestyle:
image: python:3.7
stage: qa
stage: lint
script:
- pip install pycodestyle
- pycodestyle --config=setup.cfg --count .
eslint:
lint:eslint:
image: node:alpine
stage: qa
stage: lint
before_script:
- npm install
script:
- npm run eslint
remark:
lint:remark:
image: node:alpine
stage: qa
stage: lint
before_script:
- npm install
script: