2013-07-22 13:36:02 +00:00
|
|
|
language: cpp
|
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- CMAKE_CXX_COMPILER=clang++-3.3
|
|
|
|
CMAKE_BUILD_TYPE=DEBUG
|
2013-07-23 16:50:42 +00:00
|
|
|
USE_TCMALLOC=TRUE
|
2013-08-02 17:11:33 +00:00
|
|
|
BUILD_DOXYGEN=FALSE
|
2013-07-22 13:36:02 +00:00
|
|
|
- CMAKE_CXX_COMPILER=g++-4.8
|
|
|
|
CMAKE_BUILD_TYPE=DEBUG
|
2013-07-23 16:50:42 +00:00
|
|
|
USE_TCMALLOC=TRUE
|
2013-07-22 13:36:02 +00:00
|
|
|
- CMAKE_CXX_COMPILER=clang++-3.3
|
|
|
|
CMAKE_BUILD_TYPE=RELEASE
|
2013-07-23 16:50:42 +00:00
|
|
|
USE_TCMALLOC=TRUE
|
2013-07-22 13:36:02 +00:00
|
|
|
- CMAKE_CXX_COMPILER=g++-4.8
|
|
|
|
CMAKE_BUILD_TYPE=RELEASE
|
2013-07-23 16:50:42 +00:00
|
|
|
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
|
2013-07-22 13:36:02 +00:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- mkdir -p build
|
|
|
|
- cd build
|
|
|
|
- cmake -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} ../src
|
|
|
|
|
|
|
|
script:
|
2013-08-14 20:24:18 +00:00
|
|
|
- make && yes "C" | ctest -T test -VV
|
2013-07-24 13:33:01 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- cd ..
|
|
|
|
- if [[ $BUILD_DOXYGEN == TRUE ]]; then ./script/update_doxygen.sh; fi
|
2013-07-22 13:36:02 +00:00
|
|
|
|
|
|
|
install:
|
2013-08-08 21:02:09 +00:00
|
|
|
- until sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test; do echo retry; done
|
|
|
|
- until sudo add-apt-repository --yes ppa:h-rayflood/llvm; do echo retry; done
|
|
|
|
- until sudo apt-get -qq update; do echo retry; done
|
|
|
|
- if [[ $USE_TCMALLOC == TRUE ]]; then until sudo add-apt-repository --yes ppa:agent-8131/ppa && sudo apt-get -qq update && sudo apt-get -qq install libgoogle-perftools-dev; do echo retry; done; fi
|
|
|
|
- until sudo apt-get -qq install libgmp-dev libmpfr-dev; do echo retry; done
|
|
|
|
- until sudo apt-get -qq install cmake; do echo retry; done
|
|
|
|
- until sudo apt-get -qq install flex bison++; do echo retry; done
|
|
|
|
- until sudo apt-get -qq install libstdc++-4.8-dev; do echo retry; done
|
|
|
|
- if [[ $CMAKE_CXX_COMPILER == g++-4.8 ]]; then until sudo apt-get -qq install g++-4.8; do echo retry; done fi
|
|
|
|
- if [[ $CMAKE_CXX_COMPILER == clang++-3.3 ]]; then until sudo apt-get -qq install clang-3.3; do echo retry; done fi
|
2013-07-22 13:36:02 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
2013-08-01 20:48:15 +00:00
|
|
|
- leansmt-dev@googlegroups.com
|
2013-07-22 13:36:02 +00:00
|
|
|
on_success: always
|
|
|
|
on_failure: always
|