still trying to figure out how to `pip install`
@@ -38,11 +38,13 @@ jobs:
cargo test
fi
- stage: docs
+ before_script:
+ - export PATH=$HOME/.local/bin:$PATH
+ - pip install ghp-import --user $(whoami)
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 &&
- pip install ghp-import &&
ghp-import -n target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
