language: rust
rust:
- nightly
- beta
before_script:
- git clone --depth 1 https://github.com/huonw/travis-cargo
- ln -s ./travis-cargo/travis-cargo.py tc
script:
- |
./tc cargo build &&
./tc cargo test &&
./tc cargo bench &&
./tc cargo doc
after_success:
- ./tc --only beta doc-upload
env:
global:
secure: "Zm2UP9tuReAMXYI7wHHZpff7ws4Hl35PkZdCbInU7+i432ydtPY1dXNpYA794aFYGyhkiCMCLzVpRZ33uOL6D7qQmK1KBn7AIDoPeifXVKVg/6L6Sqfhe/9cM3bZT0yIHQyFbcn4Gv2o+Jrfq3QRDA7aMwXKJNghY5OooRZtIy8="
notifications:
webhooks: http://huon.me:54856/travis