Add JSHint to Travis validation

Run before the install as it acts as a fast fail vs the gem install time
This commit is contained in:
Nick Schonning 2014-03-08 01:14:29 -05:00
parent 96bf38757d
commit 7618220296
1 changed files with 3 additions and 0 deletions

View File

@ -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