Skip to content

Commit

Permalink
added UTF8 BOM check to travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Jan 2, 2017
1 parent 84242c3 commit 17c2725
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ before_script:
script:
# ensure no files contain UTF-8 byte order mark
- if ! grep -rlI $'\xEF\xBB\xBF' framework/ ; then echo "no utf8 BOM found"; else echo "found utf8 BOM in some files. See above."; exit 1; fi
# validate composer.json
- composer validate --no-check-lock
- cd framework && composer validate --no-check-lock && cd ..
Expand Down

0 comments on commit 17c2725

Please sign in to comment.