chore(travis): pip install --user ghp-import

This commit is contained in:
Sean McArthur
2015-04-15 15:31:10 -07:00
parent 7875bc9194
commit 4ed2ef5845

View File

@@ -3,7 +3,7 @@ sudo: false
cache: cache:
directories: directories:
- target - target
script: script:
- cargo build --features nightly - cargo build --features nightly
@@ -16,7 +16,7 @@ after_success: |
cargo doc --features nightly && cargo doc --features nightly &&
echo '<meta http-equiv=refresh content=0;url=hyper/index.html>' > target/doc/index.html && echo '<meta http-equiv=refresh content=0;url=hyper/index.html>' > target/doc/index.html &&
git shortlog -s -n | cut -c 8- > target/doc/humans.txt && git shortlog -s -n | cut -c 8- > target/doc/humans.txt &&
pip install ghp-import && pip install --user ghp-import &&
ghp-import -n target/doc && ghp-import -n target/doc &&
git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages