language: rust
rust:
  - nightly
matrix:
  allow_failure:
    - rust: nightly

before_install:
  - sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded -y
  - sudo apt-get update -qq
  - sudo apt-get install -qq gcc-arm-none-eabi
  - mkdir -p build/apps

script: make build/main.elf

language: rust
rust:
  - nightly
matrix:
  allow_failure:
    - rust: nightly

before_install:
  - sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded -y
  - sudo apt-get update -qq
  - sudo apt-get install -qq gcc-arm-none-eabi
  - mkdir -p build/apps

script:
  - make build/main.elf
  - make clean-all
  - make PLATFORM=nrf_pca10001 CHIP=nrf51822 APPS=c_blinky

Update Travis-CI configuration file for nRF51822
Update Travis-CI configuration file for nRF51822

Make sure code specific to the newly added platform is built on CI.
