language: rust
sudo: required

rust:
    - stable
    - beta
    - nightly

before_script:
    - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH

script:
 - |
      travis-cargo build &&
      travis-cargo test &&
      travis-cargo bench &&
      travis-cargo --only stable doc

after_success:
    - travis-cargo --only stable doc-upload
    - travis-cargo coveralls

env:
  global:
    secure: GyAGqVHVnFEbOPd9VI646sFHtUQa2XM9YuWduG6dsydkGQCJ458Brk7e96EdDt/6UVjtrN90+VwyM6ICIAhMQyqaa6hMBkmq4i0BCt5jsO3pBNWzbrid0Y/1GcxpMQI+0fwP7ElEIpNQ4mTjJGyrt2iKUS/FnYJBtA8aC5z4qys=

language: rust
sudo: required

rust:
    - stable
    - beta
    - nightly

matrix:
    allow_failures:
        - beta
        - nightly

before_script:
    - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH

script:
 - |
      travis-cargo build &&
      travis-cargo test &&
      travis-cargo bench &&
      travis-cargo --only stable doc

after_success:
    - travis-cargo --only stable doc-upload
    - travis-cargo coveralls

env:
  global:
    secure: GyAGqVHVnFEbOPd9VI646sFHtUQa2XM9YuWduG6dsydkGQCJ458Brk7e96EdDt/6UVjtrN90+VwyM6ICIAhMQyqaa6hMBkmq4i0BCt5jsO3pBNWzbrid0Y/1GcxpMQI+0fwP7ElEIpNQ4mTjJGyrt2iKUS/FnYJBtA8aC5z4qys=

Allow beta and nightly to fail
Allow beta and nightly to fail
