diff --git a/.travis.yml b/.travis.yml index fb0323ad..d58de10b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -68,15 +68,8 @@ addons: - libcurl4-openssl-dev - libelf-dev - libdw-dev -after_success: | - [ $TRAVIS_BRANCH = master ] && - [ $TRAVIS_PULL_REQUEST = false ] && - cd .imag-documentation && - cargo doc && - echo "" > target/doc/index.html && - sudo pip install ghp-import && - ghp-import -n target/doc && - git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages +after_success: +- travis-cargo --only stable doc-upload notifications: email: on_success: never