diff --git a/.travis.yml b/.travis.yml index 90e766d..4a315e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ notifications: email: on_success: never on_failure: never -sudo: false +sudo: true branches: only: - master @@ -27,7 +27,7 @@ after_script: echo "Building docs for GH pages..." && grunt docs && echo "" > doc/index.html && - pip install ghp-import && + sudo pip install ghp-import && ghp-import -n doc && git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages && echo "Finished building docs for GH pages."