benchmark/.travis.yml

28 lines
889 B
YAML
Raw Normal View History

language: cpp
2014-11-12 17:32:00 +08:00
# NOTE: The COMPILER variable is unused. It simply makes the display on
# travis-ci.org more readable.
matrix:
include:
- compiler: gcc
env: COMPILER=g++-4.6 STD=c++0x BUILD_TYPE=Debug
- compiler: gcc
env: COMPILER=g++-4.6 STD=c++0x BUILD_TYPE=Release
- compiler: gcc
env: COMPILER=g++-4.8 STD=c++11 BUILD_TYPE=Debug
- compiler: gcc
env: COMPILER=g++-4.8 STD=c++11 BUILD_TYPE=Release
- compiler: clang
env: COMPILER=clang++-3.6 STD=c++11 BUILD_TYPE=Debug
- compiler: clang
env: COMPILER=clang++-3.6 STD=c++11 BUILD_TYPE=Release
2014-11-12 17:32:00 +08:00
before_script:
- source .travis-setup.sh
2014-11-12 17:32:00 +08:00
- mkdir build && cd build
script:
2014-11-12 17:46:23 +08:00
- cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_CXX_FLAGS="-std=${STD}"
2014-11-12 17:32:00 +08:00
- make
- make CTEST_OUTPUT_ON_FAILURE=1 test