language: rust rust: - nightly - stable - 1.38.0 # MSRV env: - TARGET=x86_64-unknown-linux-gnu - TARGET=riscv32i-unknown-none-elf - TARGET=riscv32imac-unknown-none-elf - TARGET=riscv64imac-unknown-none-elf if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master) matrix: allow_failures: - rust: nightly include: - env: CHECK_BLOBS=1 rust: language: bash if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master) - env: RUSTFMT=1 rust: stable if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master) install: - ci/install.sh script: - ci/script.sh cache: cargo: true directories: - gcc branches: only: - master - staging - trying notifications: email: on_success: never