debugging the ghp-import in travis
@@ -38,12 +38,11 @@ jobs:
cargo test
fi
- stage: docs
- rust: stable
script: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc &&
echo "<meta http-equiv=refresh content=0;url=neon/index.html>" > target/doc/index.html &&
- sudo pip install ghp-import &&
+ sudo -H pip install ghp-import &&
ghp-import -n target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
