1 # Build matrix / environment variable are explained on:
2 # https://docs.travis-ci.com/user/customizing-the-build/
3 # This file can be validated on:
4 # http://lint.travis-ci.org/
9 # Define the matrix explicitly, manually expanding the combinations of (os, compiler, env).
10 # It is more tedious, but grants us far more flexibility.
16 install: ./ci/install-linux.sh && ./ci/log-config.sh
17 script: ./ci/build-linux-bazel.sh
21 install: ./ci/install-linux.sh && ./ci/log-config.sh
22 script: ./ci/build-linux-bazel.sh
24 group: deprecated-2017Q4
26 install: ./ci/install-linux.sh && ./ci/log-config.sh
27 script: ./ci/build-linux-autotools.sh
29 group: deprecated-2017Q4
31 env: BUILD_TYPE=Debug VERBOSE=1 CXX_FLAGS=-std=c++11
33 group: deprecated-2017Q4
35 env: BUILD_TYPE=Debug VERBOSE=1
37 group: deprecated-2017Q4
39 env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
42 env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11 NO_EXCEPTION=ON NO_RTTI=ON COMPILER_IS_GNUCXX=ON
45 env: BUILD_TYPE=Debug VERBOSE=1
48 env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
51 env: BUILD_TYPE=Debug VERBOSE=1
52 if: type != pull_request
54 env: BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
55 if: type != pull_request
57 # These are the install and build (script) phases for the most common entries in the matrix. They could be included
58 # in each entry in the matrix, but that is just repetitive.
60 - ./ci/install-${TRAVIS_OS_NAME}.sh
61 - . ./ci/env-${TRAVIS_OS_NAME}.sh
64 script: ./ci/travis.sh
66 # For sudo=false builds this section installs the necessary dependencies.
69 # List of whitelisted in travis packages for ubuntu-precise can be found here:
70 # https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
71 # List of whitelisted in travis apt-sources:
72 # https://github.com/travis-ci/apt-source-whitelist/blob/master/ubuntu.json
74 - ubuntu-toolchain-r-test
75 - llvm-toolchain-precise-3.9