Browse Source

Run automatically jshint

Frédéric Guillot 8 years ago
parent
commit
ace7524905
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .travis.yml

+ 3 - 0
.travis.yml

@@ -3,5 +3,8 @@ notifications:
 language: go
 language: go
 go:
 go:
   - 1.9
   - 1.9
+before_install:
+  - npm install -g jshint
 script:
 script:
+  - jshint server/static/js/app.js
   - go test -cover -race ./...
   - go test -cover -race ./...