From 63e8d17f53e9ab583f631e52977459fc26cae0fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Sat, 16 Jan 2016 00:13:51 +0100 Subject: [PATCH] Fix gh-pages. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index b765ac30..4feb6c0e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -53,5 +53,8 @@ script: after_script: - mv -i coverage docs ~/gh-pages +- mkdir -p ~/gh-pages/lib/doc/MathJax +- echo 'document.write("");' > ~/gh-pages/lib/doc/MathJax/MathJax.js +- touch ~/gh-pages/.nojekyll - (cd ~/gh-pages && git add -A . && git commit -m "Auto-publish to gh-pages") - (cd ~/gh-pages; git push --force --quiet "https://${GH_TOKEN}@github.com/jsmaniac/phc.git" master:gh-pages >/dev/null 2>&1 || true) # redirect to /dev/null to avoid showing credentials.