From 761822029623caa01aef9ef2350c4f010aae98ad Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sat, 8 Mar 2014 01:14:29 -0500 Subject: [PATCH] Add JSHint to Travis validation Run before the install as it acts as a fast fail vs the gem install time --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2d0c7231302..1e28bb360f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: ruby rvm: - 2.0.0 - 2.1.1 +before_install: + - npm i -g jshint + - jshint . before_script: - psql -c 'create database discourse_test;' -U postgres - export DISCOURSE_HOSTNAME=www.example.com