diff --git a/.travisci/pub.sh b/.travisci/pub.sh index fddbd75ff..1da2f89d2 100755 --- a/.travisci/pub.sh +++ b/.travisci/pub.sh @@ -23,6 +23,10 @@ echo_headline () { echo } +cd ~/.emacs.d +echo "Pwd $(pwd)" +rm -rf ~/.emacs.d/.cache/ ~/.emacs.d/export/ + if [ $TRAVIS_SECURE_ENV_VARS = true ]; then hub_version="2.2.9" @@ -40,8 +44,9 @@ if [ $TRAVIS_SECURE_ENV_VARS = true ]; then echo "Publishing ${PUBLISH}" + echo_headline "INSTALLING DEPENDENCIES:" + emacs -batch -l init.el echo_headline "EXPORTING DOCUMENTATION:" - emacs -batch -l init.el > /dev/null 2>&1 emacs -batch -l init.el -l core/core-documentation.el \ -f spacemacs/publish-doc if [ $? -ne 0 ]; then diff --git a/.travisci/test.sh b/.travisci/test.sh index 7764f4244..08782fe9c 100755 --- a/.travisci/test.sh +++ b/.travisci/test.sh @@ -89,3 +89,5 @@ elif [ ! -z "$FORMAT" ]; then fi echo "Done." fi + +rm -rf /tmp/*