sudo: false
language: rust
rust:
- nightly
- beta
- stable
branches:
only:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# Uncomment this to enable building pull requests.
- master
matrix:
allow_failures:
- rust: nightly
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
script:
- |
travis-cargo build &&
travis-cargo test -- --all &&
travis-cargo test -- --all --features ecs &&
travis-cargo bench &&
travis-cargo --only stable doc
cache: cargo
env:
global:
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
#after_success:
#- travis-cargo --only stable doc-upload