cc1101 0.0.1

A platform agnostic driver to interface with the CC1101 (Sub-1GHz RF Transceiver)
Documentation
language: rust

matrix:
  include:
    - env: TARGET_BUILD=thumbv6m-none-eabi
      rust: nightly
    - env: TARGET_BUILD=thumbv7em-none-eabihf
      rust: nightly
    - env: TARGET_BUILD=armv7-unknown-linux-gnueabihf
      rust: nightly
    - env: TARGET_BUILD=x86_64-unknown-linux-gnu
      rust: nightly

before_install:
  - set -e
  - rustup self update
  - sudo apt-get update -qq

install:
  - rustup override set nightly
  - rustup component add rust-src
  - rustup target add arm-unknown-linux-gnueabi
  - rustup target add armv7-unknown-linux-gnueabihf
  - source ~/.cargo/env || true
  - cargo install xargo || true

script:
  - xargo build --target $TARGET_BUILD
  - xargo build --target $TARGET_BUILD --release

after_script: set +e

cache:
  cargo: true
  directories:
    - $HOME/.xargo

before_cache:
  # Travis can't cache files that are not readable by "others"
  - chmod -R a+r $HOME/.cargo

#after_success:
#  - bash ci/after_success.sh

notifications:
  email:
    on_success: never