language: rust
cache: cargo
matrix:
include:
- rust: stable
env: BENCHES=false
- rust: beta
env: BENCHES=false
- rust: nightly
env: BENCHES=true
- rust: 1.29.0
env: BENCHES=false
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y binutils-dev libunwind8-dev
script:
- cargo build --verbose
- cargo test --verbose
- cargo build --verbose --no-default-features --features all-languages
- cargo test --verbose --no-default-features --features all-languages
- cargo build --verbose --features rand,all-languages
- cargo test --verbose --features rand,all-languages
- if ${BENCHES}; then cargo bench --verbose --features rand; fi
- if ${BENCHES}; then cargo bench --verbose --features rand,japanese; fi