language: rust
rust:
    - nightly
sudo: false
matrix:
  include:
    - rust: nightly
script:
    - cargo build
    - cargo test
    - cargo doc --no-deps
after_success: |
    [ $TRAVIS_BRANCH = master ] &&
    [ $TRAVIS_PULL_REQUEST = false ] &&
    bash deploy-docs.sh
notifications:
    webhooks: http://huon.me:54857/travis

language: rust
rust:
    - nightly
sudo: false
script:
    - cargo build
    - cargo test
    - cargo doc --no-deps
after_success: |
    [ $TRAVIS_BRANCH = master ] &&
    [ $TRAVIS_PULL_REQUEST = false ] &&
    bash deploy-docs.sh
notifications:
    webhooks: http://huon.me:54857/travis

Stop making Travis build with nightly twice
Stop making Travis build with nightly twice
