language: rust
after_success: |
  [ $TRAVIS_BRANCH = master ] &&
  [ $TRAVIS_PULL_REQUEST = false ] &&
  cargo doc &&
  echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`/index.html>" > target/doc/index.html &&
  sudo pip install ghp-import &&
  ghp-import -n target/doc &&
  git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages

language: rust
after_success: |
  [ $TRAVIS_BRANCH = master ] &&
  [ $TRAVIS_PULL_REQUEST = false ] &&
  cargo doc &&
  echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`/index.html>" > target/doc/index.html &&
  sudo pip install ghp-import &&
  ghp-import -n target/doc &&
  git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
env:
  global:
    secure: AKL9OdoVwwF26mgeUSrSvybJtOnIDfY5+JUle+fwhCApPMO/xCFYDaRZs6eeYp7fswuXeFMUDysAy5OZQ1bbqoa2e+4o87ifs/hAjNGRK8PTg4VWp13TJQ0noA9Qb0kvRuZphlXC3zP1jTvtEQ4ntbH8r5Qb6V5A9qwZdsKmi34=

Add encrypted GH_TOKEN for Travis
Add encrypted GH_TOKEN for Travis
