forked from mirror/_s
Only get the jshint file when needed.
This commit is contained in:
parent
4a3cd975ec
commit
91d536d49c
|
@ -62,7 +62,7 @@ before_script:
|
||||||
# @link http://jshint.com/docs/
|
# @link http://jshint.com/docs/
|
||||||
- if [[ "$SNIFF" == "1" ]]; then npm install -g jshint; fi
|
- if [[ "$SNIFF" == "1" ]]; then npm install -g jshint; fi
|
||||||
# Pull in the WP Core jshint rules.
|
# 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.
|
# Run test script commands.
|
||||||
# Default is specific to project language.
|
# Default is specific to project language.
|
||||||
|
|
Reference in New Issue