Skip to content

Commit c7ebd34

Browse files
committed
Fix Jekyll exit status for Travis
Grep the output of Jekyll for errors since it returns zero exits with YAML errors. See jekyll issue 5257.
1 parent 347f7b4 commit c7ebd34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ install:
1616
- bundle install
1717

1818
script:
19-
- bundle exec jekyll build
19+
- bundle exec jekyll build 2> error.log
20+
- cat >&2 error.log
21+
- grep -qie Error error.log && false || true

0 commit comments

Comments
 (0)