#90 build app.js outside of main Docker image

This commit is contained in:
Henning Jacobs
2017-01-14 15:45:26 +01:00
parent c9d0bdb1fb
commit 05fca4a089
8 changed files with 116 additions and 17 deletions

17
tox.ini
View File

@@ -1,12 +1,23 @@
[tox]
envlist=flake8
envlist=py35,flake8,eslint
[tox:travis]
3.5=flake8
3.5=py35,flake8,eslint
[testenv]
deps=pytest
commands=
pip install -r requirements.txt
python setup.py test
[testenv:flake8]
deps=flake8
commands=flake8
commands=python setup.py flake8
[testenv:eslint]
whitelist_externals=eslint
changedir=app
commands=eslint src
[flake8]
max-line-length=160