language: c
sudo: false

addons:
  apt:
    sources:
      - llvm-toolchain-trusty-5.0
      - key_url: 'http://apt.llvm.org/llvm-snapshot.gpg.key'

script:
  - build_main_platforms
  
before_install:
  - source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)

cache:
  directories:
    - ~/arduino_ide
    - ~/.arduino15/packages/
