From 79917b0843fc00790a7ea9e8c7150a8222a6fa43 Mon Sep 17 00:00:00 2001 From: Mohsen Azimi Date: Thu, 12 Mar 2015 17:03:50 -0700 Subject: [PATCH] Run JSHint in TravisCi --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 854331e8..d2d38fd1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,4 +5,9 @@ node_js: install: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start - - npm install \ No newline at end of file + - npm i -g jshint + - npm install + +script: + - jshint . + - npm test \ No newline at end of file