language: cpp
dist: trusty

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

install:
  - cmake -version

script: ./go.sh setup && ./go.sh build-host && ./go.sh test-host && ./go.sh build-target

language: cpp
dist: trusty

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

install:
# From https://github.com/boostorg/hana/blob/master/.travis.yml
  - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
  - mkdir ${DEPS_DIR} && cd ${DEPS_DIR}
  - |
    CMAKE_URL="http://www.cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz"
    mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
    export PATH=${DEPS_DIR}/cmake/bin:${PATH}
  - cmake -version

script: ./go.sh setup && ./go.sh build-host && ./go.sh test-host && ./go.sh build-target

Install a more recent version of CMake during build.
Install a more recent version of CMake during build.
