mutex-trait 0.2.0

Foundational mutex trait and helpers
Documentation
language: rust

matrix:
  include:
    - env: TARGET=x86_64-unknown-linux-gnu
      rust: stable
      if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)

    - env: TARGET=thumbv6m-none-eabi
      rust: stable
      if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)

    - env: TARGET=thumbv7m-none-eabi
      rust: stable
      if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)

    - env: TARGET=thumbv7em-none-eabi
      rust: stable
      if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)

    - env: TARGET=thumbv7em-none-eabihf
      rust: stable
      if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)

    # MSRV
    - env: TARGET=thumbv6m-none-eabi
      rust: 1.31.0
      if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)

    # MSRV
    - env: TARGET=thumbv7m-none-eabi
      rust: 1.31.0
      if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)

    # MSRV
    - env: TARGET=thumbv7em-none-eabi
      rust: 1.31.0
      if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)

    # MSRV
    - env: TARGET=thumbv7em-none-eabihf
      rust: 1.31.0
      if: (branch = staging OR branch = trying) OR (type = pull_request AND branch = master)

before_install: set -e

install:
  - bash ci/install.sh

script:
  - bash ci/script.sh

after_script: set +e

cache: cargo

before_cache:
  - chmod -R a+r $HOME/.cargo;

branches:
  only:
    - master
    - staging
    - trying

notifications:
  email:
    on_success: never