Run eslint via tox.
This makes the .travis.yml simpler again and fixes the fact that the exit status of a command was ignored because of the "|| true".
This commit is contained in:
parent
224ab3237d
commit
661f7cde92
@ -36,8 +36,7 @@ install:
|
|||||||
- python scripts/dev/ci_install.py
|
- python scripts/dev/ci_install.py
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- '[[ $TESTENV != eslint ]] && tox -e $TESTENV -- -p no:sugar tests || true'
|
- tox -e $TESTENV -- -p no:sugar tests
|
||||||
- '[[ $TESTENV == eslint ]] && eslint qutebrowser || true'
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
exclude:
|
||||||
|
6
tox.ini
6
tox.ini
@ -194,3 +194,9 @@ deps =
|
|||||||
commands =
|
commands =
|
||||||
{envpython} scripts/link_pyqt.py --tox {envdir}
|
{envpython} scripts/link_pyqt.py --tox {envdir}
|
||||||
{envpython} scripts/dev/freeze.py {posargs}
|
{envpython} scripts/dev/freeze.py {posargs}
|
||||||
|
|
||||||
|
[testenv:eslint]
|
||||||
|
skip_install = True
|
||||||
|
deps =
|
||||||
|
whitelist_externals = eslint
|
||||||
|
commands = eslint qutebrowser
|
||||||
|
Loading…
Reference in New Issue
Block a user