diff options
| author | 2019-04-01 23:47:36 +0200 | |
|---|---|---|
| committer | 2019-04-01 23:47:36 +0200 | |
| commit | c2a339f2f8a5a9a44d5feaaa8a000f027873d7da (patch) | |
| tree | 08f0e4ce576a6ba86925aed88a66d4eb4c4642db /.travis.yml | |
| parent | e5c8d52aa1ef5a624512b5faf64ea30697ef7e4c (diff) | |
[CI] Lint JS scripts with jshint (#2315)
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 44bc59e3f..1ec2aeb65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,6 +34,15 @@ matrix: dist: precise - php: "7.2" env: CHECK_TRANSLATION=yes VALIDATE_STANDARD=no + - language: node_js + node_js: + - "node" + php: + # none + install: + - npm install jshint + script: + - node_modules/jshint/bin/jshint . allow_failures: - env: CHECK_TRANSLATION=yes VALIDATE_STANDARD=no - dist: precise |
