language: rust
sudo: false
os: linux
matrix:
include:
- rust: 1.32.0
name: "Linux, 1.32.0"
script:
- cargo test
- rust: stable
name: "Linux, stable"
- rust: beta
name: "Linux, beta"
- rust: nightly
name: "Linux, nightly, 64-bit"
script:
- cargo test --benches --examples
- rust: nightly
name: "Linux, nightly, 32-bit"
env: TARGET=i686-unknown-linux-musl
install:
- rustup target add $TARGET
script:
- cargo test --target $TARGET --benches --examples
- rust: stable
sudo: required
dist: trusty
services: docker
name: "Linux (MIPS, big-endian)"
env: TARGET=mips-unknown-linux-gnu
install:
- sh ci/install.sh
- source ~/.cargo/env || true
script:
- cross test --target $TARGET
- rust: nightly
name: "no_std platform test"
install:
- rustup target add thumbv6m-none-eabi
script:
- cargo build --target=thumbv6m-none-eabi
- rust: nightly
name: "Miri, nightly"
script:
- sh ci/miri.sh
- rust: nightly
name: "Linux, minimal versions"
script:
- cargo generate-lockfile -Z minimal-versions
- cargo test --benches --examples
before_install:
- set -e
script:
- cargo test
after_script: set +e
notifications:
email: false