| branches: |
| only: |
| # This is where pull requests from "bors r+" are built. |
| - staging |
| # This is where pull requests from "bors try" are built. |
| - trying |
| |
| language: rust |
| rust: |
| - nightly-2019-11-06 |
| |
| os: |
| - linux |
| - osx |
| |
| cache: rust |
| |
| install: |
| - rustup target add thumbv7em-none-eabi |
| - rustup target add riscv32imc-unknown-none-elf |
| - rustup component add rustfmt-preview |
| - rustup component add clippy |
| |
| script: |
| - cargo fmt --all -- --check |
| - cargo test --workspace |
| - cargo clippy --workspace --all-targets |
| - ./build_examples.sh |