before_install:
    - sudo add-apt-repository --yes ppa:hansjorg/rust
    - sudo add-apt-repository --yes ppa:cmrx64/cargo
    - sudo apt-get update -qq

install:
    - sudo apt-get install -qq rust-nightly cargo

script:
    - cargo build
    - cargo test

language: rust
env:
    global:
        - secure: DEEHr+VSH3P0mzeEsd8iQniYvu/KSx5FtHHDXd1Wrs5zThQosfzk4uR/4OL5QxcGU2fGNHRXBqg1aPUarsRd6znFVOPU8cdyOmEgFF8vBCBVkZf3ZbtQcufhDHHki8EPg3UVlMqYnp8mloBFvj5QSTE00rzFFvXYF0PS4IFRrmY=

before_install:
    - sudo add-apt-repository --yes ppa:hansjorg/rust
    - sudo add-apt-repository --yes ppa:cmrx64/cargo
    - sudo apt-get update -qq

install:
    - sudo apt-get install -qq rust-nightly cargo

script:
    - cargo build
    - cargo test

after_script:
    - cargo doc
    - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh

Update Travis YAML for generating docs.
Update Travis YAML for generating docs.
