Commit 64e982dd authored by Damien Lespiau's avatar Damien Lespiau

tests: Move jshint invocation to a shell script

We don't need anything python, like a full virtualenv, to run the front
end tests, so just move the jshint invocation to a shell script.
Signed-off-by: 's avatarDamien Lespiau <damien.lespiau@intel.com>
parent 0cf2a96e
#!/bin/sh -e
script_dir=$(cd `dirname $0`; pwd)
root_dir=`dirname $script_dir`
js=$root_dir/htdocs/js
tests=$root_dir/tests
files="$js/patchwork.js $js/common.js $js/bundle.js $tests/test_*.js"
jshint $files
......@@ -19,7 +19,6 @@ commands =
passenv =
http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
PW_TEST_DB_USER PW_TEST_DB_PASS DISPLAY
whitelist_externals = jshint
[testenv:pep8]
basepython = python2.7
......@@ -37,12 +36,6 @@ deps =
-r{toxinidir}/docs/requirements-prod.txt
commands = pylint {posargs:patchwork} --rcfile=pylint.rc
[testenv:jshint]
basepython = python2.7
commands = jshint htdocs/js/patchwork.js \
htdocs/js/common.js \
htdocs/js/bundle.js
[testenv:coverage]
basepython = python2.7
deps =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment