Add npm envs to tox

This adds two new test environments for npm test and npm lint so that
developers can just call tox and be sure all tests have been run.

Change-Id: I71d8f5d566b9dbab65e893474b6df56c86c73903
Co-Authored-By: Dhiana Deva <ddeva@thoughtworks.com>
This commit is contained in:
Anderson Mesquita 2015-11-09 16:41:47 -02:00
parent 5fe77b38b8
commit 910a24c39f
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,5 @@
[tox]
envlist = pep8,py27
envlist = py27,pep8,npm-test,npm-lint
minversion = 1.6
skipsdist = True
@ -36,3 +36,9 @@ commands = python setup.py testr --coverage {posargs}
ignore = E125,E123,E129,H404,H405
show-source = True
exclude = .git,.venv,.tox,dist,doc,openstack,*egg
[testenv:npm-test]
commands = npm test
[testenv:npm-lint]
commands = npm run lint --silent