From 91d536d49cd704e450e597133e9a129721eb4b80 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sat, 26 Dec 2015 05:00:11 +0100 Subject: [PATCH] Only get the jshint file when needed. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4499a99..02cdb6a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -62,7 +62,7 @@ before_script: # @link http://jshint.com/docs/ - if [[ "$SNIFF" == "1" ]]; then npm install -g jshint; fi # Pull in the WP Core jshint rules. - - wget https://develop.svn.wordpress.org/trunk/.jshintrc + - if [[ "$SNIFF" == "1" ]]; then wget https://develop.svn.wordpress.org/trunk/.jshintrc; fi # Run test script commands. # Default is specific to project language.