aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Frans de Jonge <fransdejonge@gmail.com> 2019-04-01 23:47:36 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-04-01 23:47:36 +0200
commitc2a339f2f8a5a9a44d5feaaa8a000f027873d7da (patch)
tree08f0e4ce576a6ba86925aed88a66d4eb4c4642db /.travis.yml
parente5c8d52aa1ef5a624512b5faf64ea30697ef7e4c (diff)
[CI] Lint JS scripts with jshint (#2315)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
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