Skip to content

Commit a0b09f0

Browse files
committed
Fail Travis builds if Jekyll outputs empty files
1 parent bbbeed9 commit a0b09f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ script:
1919
- bundle exec jekyll build 2> error.log
2020
- cat >&2 error.log
2121
- ( ! grep -qie Error error.log )
22+
- find ./_site -empty ! -name error.log
23+
- find ./_site -empty ! -name error.log | ! read

0 commit comments

Comments
 (0)