Skip to content

Commit eee87f1

Browse files
authored
Merge pull request #538 from ashawley/jekyll-empty-files
Fail Travis builds if Jekyll outputs empty files
2 parents f9310b9 + 0b98cd2 commit eee87f1

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 \( -type d \( -name events -o -name training \) -prune -false \) -o \( -type f ! -name error.log -empty \)
23+
- find ./_site \( -type d \( -name events -o -name training \) -prune -false \) -o \( -type f ! -name error.log -empty \) | ( ! read )

0 commit comments

Comments
 (0)