cortex-m 0.1.5

Low level access to Cortex-M processors
Documentation
cache: cargo
dist: trusty
language: rust
rust: nightly
services: docker
sudo: required

matrix:
  include:
    - env: TARGET=thumbv6m-none-eabi
    - env: TARGET=thumbv7m-none-eabi
    - env: TARGET=thumbv7em-none-eabi
    - env: TARGET=thumbv7em-none-eabihf
env: TARGET=x86_64-unknown-linux-gnu

install:
  - curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain $TRAVIS_RUST_VERSION
  - source ~/.cargo/env
  - rustup component add rust-src

script:
  - cargo generate-lockfile
  - sh ci/run-docker.sh $TARGET
  # Travis can't cache files that are not readable by "others"
  - chmod -R a+r $HOME/.cargo

branches:
  only:
    - auto
    - try

notifications:
  email:
    on_success: never