From b49dfb1213ad5ccc23ed5f8c2d570604785401a4 Mon Sep 17 00:00:00 2001 From: "Aaron S. Hawley" Date: Wed, 16 Nov 2016 17:19:19 -0500 Subject: [PATCH] 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. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a423e4403..b5531af7f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,4 +16,6 @@ install: - bundle install script: -- bundle exec jekyll build +- bundle exec jekyll build 2> error.log +- cat >&2 error.log +- ( ! grep -qie Error error.log )