chore(travis): use local ghp-import

This commit is contained in:
Sean McArthur
2015-04-15 15:56:35 -07:00
parent 4ed2ef5845
commit f246c6a4a8

View File

@@ -2,8 +2,8 @@ language: rust
sudo: false sudo: false
cache: cache:
directories: directories:
- target - target
script: script:
- cargo build --features nightly - cargo build --features nightly
@@ -17,7 +17,7 @@ after_success: |
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 --user ghp-import && pip install --user ghp-import &&
ghp-import -n target/doc && /home/travis/.local/bin/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
env: env: