language: rust
rust:
  - stable
  - beta
  - nightly
matrix:
  # We depend on phf's compiler plugin & plugins are not yet stable
  allow_failures:
    - rust: stable
    - rust: beta

language: rust
rust:
  - stable
  - beta
  - nightly
matrix:
  # We depend on phf's compiler plugin & plugins are not yet stable
  allow_failures:
    - rust: stable
    - rust: beta

# from http://hoverbear.org/2015/03/07/rust-travis-github-pages/
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

Add script to generate docs from Travis builds
Add script to generate docs from Travis builds
