From 5c7df554511e52f2e5a9588e6f3ae486951a8fa6 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Thu, 15 Nov 2018 11:00:23 +1300 Subject: [PATCH 1/2] Use -e option instead of heredoc in CI doc stage This makes sure that the Travis job actually fails when there is an error somewhere in the Documenter script. The heredoc does not work because Julia does not set the return code appropriately when the scripts are passed via stdin. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1c6c445c7..a7eb9eea8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,11 +22,11 @@ jobs: os: linux script: - | - julia --color=yes --project=docs/ < Date: Sun, 18 Nov 2018 12:24:30 +1300 Subject: [PATCH 2/2] Don't install Compose twice --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index a7eb9eea8..e6648ef38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,8 @@ jobs: - stage: "Documentation" julia: 1.0 os: linux + # disable global before_script in order not to install Compose twice + before_script: script: - | julia --color=yes --project=docs/ -e'