Browse Source

Typo fix in doc HTML redirect.

Simon Sapin 12 years ago
parent
commit
b5e2025761
1 changed files with 2 additions and 3 deletions
  1. 2 3
      .travis.yml

+ 2 - 3
.travis.yml

@@ -7,17 +7,16 @@ install:
   - tar xf cargo-nightly-linux.tar.gz
   - sudo ./cargo-nightly/install.sh
 
-  - sudo pip install ghp-import
-
 script:
   - cargo build
   - cargo test
   - rustdoc src/url.rs -L target/deps
-  - echo '<meta http-equiv=refresh content=0;url=url_/index.html">' > doc/index.html
+  - echo '<meta http-equiv=refresh content=0;url=url_/index.html>' > doc/index.html
 
 after_success: |
   [ $TRAVIS_BRANCH = master ] &&
   [ $TRAVIS_PULL_REQUEST = false ] &&
+  sudo pip install ghp-import &&
   ghp-import -n doc &&
   git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages