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:
parent
96bf38757d
commit
7618220296
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue