Fix eslint dependency

This commit is contained in:
Jan Tuomi
2017-05-17 15:18:57 +03:00
parent 22e3727320
commit 224b5d87da
2 changed files with 10 additions and 4 deletions
+9 -4
View File
@@ -26,10 +26,15 @@ test:
script:
- python manage.py test
lint:
pep8:
stage: lint
variables:
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB"
script:
- pep8 --count && eslint .
- pep8 --count
eslint:
image: node:7.10.0
stage: lint
script:
- npm install -g eslint
- eslint .