blob: cd3485cd6e30379b0f5481873b38872cb4b30e47 [file] [log] [blame]
Austin Schuh0cbef622015-09-06 17:34:52 -07001# Build matrix / environment variable are explained on:
2# http://about.travis-ci.org/docs/user/build-configuration/
3# This file can be validated on:
4# http://lint.travis-ci.org/
5# See also
6# http://stackoverflow.com/questions/22111549/travis-ci-with-clang-3-4-and-c11/30925448#30925448
7# to allow C++11, though we are not yet building with -std=c++11
8
9install:
10# /usr/bin/gcc is 4.6 always, but gcc-X.Y is available.
11- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
12# /usr/bin/clang is our version already, and clang-X.Y does not exist.
13#- if [ "$CXX" = "clang++" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi
14- echo ${PATH}
15- ls /usr/local
16- ls /usr/local/bin
17- export PATH=/usr/local/bin:/usr/bin:${PATH}
18- echo ${CXX}
19- ${CXX} --version
20addons:
21 apt:
22 sources:
23 - ubuntu-toolchain-r-test
24 packages:
25 - gcc-4.9
26 - g++-4.9
27 - clang
28 - valgrind
29os:
30 - linux
31 - osx
32language: cpp
33compiler:
34 - gcc
35 - clang
36script: ./travis.sh
37env:
38 matrix:
39 - GTEST_TARGET=googletest SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=debug VERBOSE_MAKE=true VERBOSE
40 - GTEST_TARGET=googlemock SHARED_LIB=OFF STATIC_LIB=ON CMAKE_PKG=OFF BUILD_TYPE=debug VERBOSE_MAKE=true VERBOSE
41# - GTEST_TARGET=googletest SHARED_LIB=ON STATIC_LIB=ON CMAKE_PKG=ON BUILD_TYPE=release VERBOSE_MAKE=false
42# - GTEST_TARGET=googlemock SHARED_LIB=ON STATIC_LIB=ON CMAKE_PKG=ON BUILD_TYPE=release VERBOSE_MAKE=false
43notifications:
44 email: false
45sudo: false