Blame | Last modification | View Log | Download
# Build matrix / environment variable are explained on:# https://docs.travis-ci.com/user/customizing-the-build/# This file can be validated on:# http://lint.travis-ci.org/sudo: falselanguage: cpp# Define the matrix explicitly, manually expanding the combinations of (os, compiler, env).# It is more tedious, but grants us far more flexibility.matrix:include:- os: linuxcompiler: gccsudo : trueinstall: ./ci/install-linux.sh && ./ci/log-config.shscript: ./ci/build-linux-bazel.sh- os: linuxcompiler: clangsudo : trueinstall: ./ci/install-linux.sh && ./ci/log-config.shscript: ./ci/build-linux-bazel.sh- os: linuxgroup: deprecated-2017Q4compiler: gccinstall: ./ci/install-linux.sh && ./ci/log-config.shscript: ./ci/build-linux-autotools.sh- os: linuxgroup: deprecated-2017Q4compiler: gccenv: BUILD_TYPE=Debug VERBOSE=1 CXX_FLAGS=-std=c++11- os: linuxgroup: deprecated-2017Q4compiler: clangenv: BUILD_TYPE=Debug VERBOSE=1- os: linuxgroup: deprecated-2017Q4compiler: clangenv: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11- os: linuxcompiler: clangenv: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 NO_EXCEPTION=ON NO_RTTI=ON COMPILER_IS_GNUCXX=ON- os: osxcompiler: gccenv: BUILD_TYPE=Debug VERBOSE=1- os: osxcompiler: gccenv: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11- os: osxcompiler: clangenv: BUILD_TYPE=Debug VERBOSE=1if: type != pull_request- os: osxenv: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11if: type != pull_request# These are the install and build (script) phases for the most common entries in the matrix. They could be included# in each entry in the matrix, but that is just repetitive.install:- ./ci/install-${TRAVIS_OS_NAME}.sh- . ./ci/env-${TRAVIS_OS_NAME}.sh- ./ci/log-config.shscript: ./ci/travis.sh# For sudo=false builds this section installs the necessary dependencies.addons:apt:# List of whitelisted in travis packages for ubuntu-precise can be found here:# https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise# List of whitelisted in travis apt-sources:# https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.jsonsources:- ubuntu-toolchain-r-test- llvm-toolchain-precise-3.7packages:- g++-4.9- clang-3.7notifications:email: false