From 63d90cd5169dcfee454d15dd3fa1dd32babe39c6 Mon Sep 17 00:00:00 2001 From: JAremko Date: Sun, 20 May 2018 02:36:09 +0300 Subject: [PATCH] Fix travis script. --- .travisci/pub_prep.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.travisci/pub_prep.sh b/.travisci/pub_prep.sh index 060fb1457..db5ef66b8 100755 --- a/.travisci/pub_prep.sh +++ b/.travisci/pub_prep.sh @@ -31,6 +31,7 @@ if [ $? -ne 0 ]; then echo "Installation failed" exit 2 fi +echo "DONE!" echo_headline "INSTALLING DEPENDENCIES:" cp ~/.emacs.d/.travisci/.spacemacs ~/ @@ -40,6 +41,15 @@ if [ $? -ne 0 ]; then echo "Dependencies installation failed." exit 2 fi - echo "DONE!" + +echo_headline "EXPORTING DOCUMENTATION:" +emacs -batch -l init.el -l core/core-documentation.el \ + -f spacemacs/publish-doc +if [ $? -ne 0 ]; then + echo "spacemacs/publish-doc failed" + exit 2 +fi +echo "DONE!" + exit 0