language: rust
# run builds for both the nightly and beta branch
rust:
  - nightly
  - beta

# load travis-cargo
before_script:
  - git clone --depth 1 https://github.com/huonw/travis-cargo
  # make a short alias (`alias` itself doesn't work)
  - ln -s ./travis-cargo/travis-cargo.py tc

# the main build
script:
  - |
      tc cargo build &&
      tc cargo test &&
      tc cargo bench &&
      tc cargo doc
after_success:
  # upload the documentation from the build with beta (automatically only actually
  # runs on the master branch)
  - tc --only beta doc-upload

env:
  global:
    secure: "XlN/Vf8a+QuHky7RHRf3i4rR1dIegb1nSmTMqRVNzFDeeMVt1su/2ExdbwM0Fj/VZLj0VNOYu/SHcYXEMtUr/GVebonac+tcQveNNidx2ts/9anaERqlI2pP1gulyEzAljnPe4bG9SsqLTfKAiZblgEHl643F1X+/1zGGgyRD6I="
notifications:
    webhooks: http://huon.me:54856/travis

language: rust
# run builds for both the nightly and beta branch
rust:
  - nightly
  - beta

# load travis-cargo
before_script:
  - git clone --depth 1 https://github.com/huonw/travis-cargo
  # make a short alias (`alias` itself doesn't work)
  - ln -s ./travis-cargo/travis-cargo.py tc

# the main build
script:
  - |
      ./tc cargo build &&
      ./tc cargo test &&
      ./tc cargo bench &&
      ./tc cargo doc
after_success:
  # upload the documentation from the build with beta (automatically only actually
  # runs on the master branch)
  - ./tc --only beta doc-upload

env:
  global:
    secure: "XlN/Vf8a+QuHky7RHRf3i4rR1dIegb1nSmTMqRVNzFDeeMVt1su/2ExdbwM0Fj/VZLj0VNOYu/SHcYXEMtUr/GVebonac+tcQveNNidx2ts/9anaERqlI2pP1gulyEzAljnPe4bG9SsqLTfKAiZblgEHl643F1X+/1zGGgyRD6I="
notifications:
    webhooks: http://huon.me:54856/travis

Use explicit paths for tc invocation.
Use explicit paths for tc invocation.
