Update .travis.yml to extend build matrix with/without tcmalloc

This commit is contained in:
Soonho Kong 2013-07-23 09:50:42 -07:00
parent eb60e8054e
commit 03740ca77a

View file

@ -4,12 +4,28 @@ env:
matrix: matrix:
- CMAKE_CXX_COMPILER=clang++-3.3 - CMAKE_CXX_COMPILER=clang++-3.3
CMAKE_BUILD_TYPE=DEBUG CMAKE_BUILD_TYPE=DEBUG
USE_TCMALLOC=TRUE
- CMAKE_CXX_COMPILER=g++-4.8 - CMAKE_CXX_COMPILER=g++-4.8
CMAKE_BUILD_TYPE=DEBUG CMAKE_BUILD_TYPE=DEBUG
USE_TCMALLOC=TRUE
- CMAKE_CXX_COMPILER=clang++-3.3 - CMAKE_CXX_COMPILER=clang++-3.3
CMAKE_BUILD_TYPE=RELEASE CMAKE_BUILD_TYPE=RELEASE
USE_TCMALLOC=TRUE
- CMAKE_CXX_COMPILER=g++-4.8 - CMAKE_CXX_COMPILER=g++-4.8
CMAKE_BUILD_TYPE=RELEASE CMAKE_BUILD_TYPE=RELEASE
USE_TCMALLOC=TRUE
- CMAKE_CXX_COMPILER=clang++-3.3
CMAKE_BUILD_TYPE=DEBUG
USE_TCMALLOC=FALSE
- CMAKE_CXX_COMPILER=g++-4.8
CMAKE_BUILD_TYPE=DEBUG
USE_TCMALLOC=FALSE
- CMAKE_CXX_COMPILER=clang++-3.3
CMAKE_BUILD_TYPE=RELEASE
USE_TCMALLOC=FALSE
- CMAKE_CXX_COMPILER=g++-4.8
CMAKE_BUILD_TYPE=RELEASE
USE_TCMALLOC=FALSE
before_script: before_script:
- mkdir -p build - mkdir -p build
@ -21,11 +37,11 @@ script:
- ctest -T test -VV - ctest -T test -VV
install: install:
- sudo add-apt-repository --yes ppa:agent-8131/ppa -
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test - sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository --yes ppa:h-rayflood/llvm - sudo add-apt-repository --yes ppa:h-rayflood/llvm
- sudo apt-get -qq update - sudo apt-get -qq update
- sudo apt-get -qq install libgoogle-perftools-dev - if [[ $USE_TCMALLOC == TRUE ]]; then sudo add-apt-repository --yes ppa:agent-8131/ppa && sudo apt-get -qq update && sudo apt-get -qq install libgoogle-perftools-dev; fi
- sudo apt-get -qq install libgmp-dev - sudo apt-get -qq install libgmp-dev
- sudo apt-get -qq install cmake - sudo apt-get -qq install cmake
- sudo apt-get -qq install libstdc++-4.8-dev - sudo apt-get -qq install libstdc++-4.8-dev