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: stages:
- qa - lint
- test
- publish - publish
- deploy - deploy
test: test:
image: python:3.7 image: python:3.7
stage: qa stage: test
services: services:
- postgres:12 - postgres:12
variables: variables:
@@ -21,24 +22,24 @@ test:
- python manage.py createdefaultadmin - python manage.py createdefaultadmin
- python manage.py test - python manage.py test
pycodestyle: lint:pycodestyle:
image: python:3.7 image: python:3.7
stage: qa stage: lint
script: script:
- pip install pycodestyle - pip install pycodestyle
- pycodestyle --config=setup.cfg --count . - pycodestyle --config=setup.cfg --count .
eslint: lint:eslint:
image: node:alpine image: node:alpine
stage: qa stage: lint
before_script: before_script:
- npm install - npm install
script: script:
- npm run eslint - npm run eslint
remark: lint:remark:
image: node:alpine image: node:alpine
stage: qa stage: lint
before_script: before_script:
- npm install - npm install
script: script: