language: rust
env:
  global:
  - secure: LD3W5ilCQq3FkBt9hRZjpzVc6WITcjDzW93JGN2Rv364BiWtFCoCUZCD0An9zbM0OirJ0qoEK/HlikF3wrwAkyJaTB5EVwxjZ3SKlJ6VbxHxmgnripaSYR7fNOGlUjLWS5wvm0gRz61wKh7xI2Mwm3xbraujYkaafX0akZMUJ7M=
script:
- cargo test
- cargo doc --no-deps
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && ./.travis/update_docs.sh

language: rust
rust:
- nightly
- beta
env:
  global:
  - secure: LD3W5ilCQq3FkBt9hRZjpzVc6WITcjDzW93JGN2Rv364BiWtFCoCUZCD0An9zbM0OirJ0qoEK/HlikF3wrwAkyJaTB5EVwxjZ3SKlJ6VbxHxmgnripaSYR7fNOGlUjLWS5wvm0gRz61wKh7xI2Mwm3xbraujYkaafX0akZMUJ7M=
script:
- cargo test
- cargo doc --no-deps
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && test $TRAVIS_RUST_VERSION == "nightly" && ./.travis/update_docs.sh

Test on both nightly and beta
Test on both nightly and beta
