blob: 5fb6d61c92b0c7e05a97078c7b8648d93d59be21 [file] [log] [blame]
language: cpp
sudo: required
dist: trusty
cache:
directories:
- $HOME/.cache/tools
before_install: .travis/before_install.sh
script: .travis/script.sh
after_success:
- .travis/after_success.sh
matrix:
include:
- env: BUILD_TARGET="raspbian-gcc" VERBOSE=1 IMAGE_NAME=2017-04-10-raspbian-jessie-lite IMAGE_URL=http://director.downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2017-04-10/2017-04-10-raspbian-jessie-lite.zip
os: linux
- env: BUILD_TARGET="raspbian-gcc" VERBOSE=1 IMAGE_NAME=2018-04-18-raspbian-stretch-lite IMAGE_URL=http://director.downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2018-04-19/2018-04-18-raspbian-stretch-lite.zip
os: linux
- env: BUILD_TARGET="meshcop" VERBOSE=1
os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
- g++-5
- env: BUILD_TARGET="docker-check" VERBOSE=1
os: linux
compiler: gcc
- env: BUILD_TARGET="script-check"
compiler: gcc
os: linux
- env: BUILD_TARGET="scan-build"
os: linux
compiler: clang
- env: BUILD_TARGET="android-check" VERBOSE=1 WITH_MDNS=mDNSResponder
os: linux
- env: BUILD_TARGET="android-check" VERBOSE=1
os: linux
- env: BUILD_TARGET="posix-check" VERBOSE=1 WITH_MDNS=mDNSResponder
compiler: clang
os: linux
- env: BUILD_TARGET="posix-check" VERBOSE=1
compiler: clang
os: linux
- env: BUILD_TARGET="posix-check" VERBOSE=1 WITH_MDNS=mDNSResponder
compiler: gcc
os: linux
- env: BUILD_TARGET="posix-check" VERBOSE=1
compiler: gcc
os: linux
- env: BUILD_TARGET="pretty-check"
os: linux
addons:
apt:
sources:
- llvm-toolchain-trusty-6.0
- ubuntu-toolchain-r-test
packages:
- clang-format-6.0