Skip to content

Commit 820ecfa

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 3f55787 commit 820ecfa

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
@@ -14,4 +14,6 @@ install:
1414
- bundle install
1515

1616
script:
17-
- bundle exec jekyll build
17+
- bundle exec jekyll build 2> error.log
18+
- cat >&2 error.log
19+
- grep -qie Error error.log && false || true

0 commit comments

Comments
 (0)