Cause Travis to Fail on Trailing Whitespace
In the script
section of travis.yml
, add:
- "! git grep ' $' -- \\*.rb \\*.js \\*.other-file-types | grep -v -e 'FILE_TO_IGNORE' -e 'OTHER_FILE_TO_IGNORE"
Written by gaelan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Travis-ci
Authors
Related Tags
#travis-ci
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#