diff --git a/.travis.yml b/.travis.yml index ff97e42..dd062c5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,8 @@ script: nikola build after_success: | [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && + virtualenv -p python2.7 /tmp/venv && + . /tmp/venv/bin/activate && pip install ghp-import && - ghp-import -n output - git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages + ghp-import -n output && + git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages >/dev/null 2>&1