2016-08-02 21:47:29 +00:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2015-04-03 18:43:42 +00:00
|
|
|
language: cpp
|
2014-11-12 09:32:00 +00:00
|
|
|
|
2015-04-03 18:43:42 +00:00
|
|
|
matrix:
|
2017-05-22 16:26:05 +00:00
|
|
|
include:
|
|
|
|
- compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- lcov
|
2017-05-22 16:27:28 +00:00
|
|
|
env: COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Coverage
|
2017-05-22 16:26:05 +00:00
|
|
|
- compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- g++-multilib
|
2019-05-01 08:06:12 +00:00
|
|
|
- libc6:i386
|
|
|
|
env:
|
|
|
|
- COMPILER=g++
|
|
|
|
- C_COMPILER=gcc
|
|
|
|
- BUILD_TYPE=Debug
|
|
|
|
- BUILD_32_BITS=ON
|
|
|
|
- EXTRA_FLAGS="-m32"
|
2017-05-22 16:26:05 +00:00
|
|
|
- compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- g++-multilib
|
2019-05-01 08:06:12 +00:00
|
|
|
- libc6:i386
|
|
|
|
env:
|
|
|
|
- COMPILER=g++
|
|
|
|
- C_COMPILER=gcc
|
|
|
|
- BUILD_TYPE=Release
|
|
|
|
- BUILD_32_BITS=ON
|
|
|
|
- EXTRA_FLAGS="-m32"
|
2017-05-22 16:26:05 +00:00
|
|
|
- compiler: gcc
|
|
|
|
env:
|
2018-02-13 04:28:23 +00:00
|
|
|
- INSTALL_GCC6_FROM_PPA=1
|
2017-05-22 16:26:05 +00:00
|
|
|
- COMPILER=g++-6 C_COMPILER=gcc-6 BUILD_TYPE=Debug
|
Add tests to verify assembler output -- Fix DoNotOptimize. (#530)
* Add tests to verify assembler output -- Fix DoNotOptimize.
For things like `DoNotOptimize`, `ClobberMemory`, and even `KeepRunning()`,
it is important exactly what assembly they generate. However, we currently
have no way to test this. Instead it must be manually validated every
time a change occurs -- including a change in compiler version.
This patch attempts to introduce a way to test the assembled output automatically.
It's mirrors how LLVM verifies compiler output, and it uses LLVM FileCheck to run
the tests in a similar way.
The tests function by generating the assembly for a test in CMake, and then
using FileCheck to verify the // CHECK lines in the source file are found
in the generated assembly.
Currently, the tests only run on 64-bit x86 systems under GCC and Clang,
and when FileCheck is found on the system.
Additionally, this patch tries to improve the code gen from DoNotOptimize.
This should probably be a separate change, but I needed something to test.
* Disable assembly tests on Bazel for now
* Link FIXME to github issue
* Fix Tests on OS X
* fix strip_asm.py to work on both Linux and OS X like targets
2018-03-23 22:10:47 +00:00
|
|
|
- ENABLE_SANITIZER=1
|
2017-05-22 16:26:05 +00:00
|
|
|
- EXTRA_FLAGS="-fno-omit-frame-pointer -g -O2 -fsanitize=undefined,address -fuse-ld=gold"
|
|
|
|
# Clang w/ libc++
|
|
|
|
- compiler: clang
|
2019-03-17 15:48:35 +00:00
|
|
|
dist: xenial
|
2017-05-22 16:26:05 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
clang-3.8
|
|
|
|
env:
|
2019-03-17 15:48:35 +00:00
|
|
|
- INSTALL_GCC6_FROM_PPA=1
|
2017-05-22 16:26:05 +00:00
|
|
|
- COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=Debug
|
|
|
|
- LIBCXX_BUILD=1
|
2019-05-01 08:06:12 +00:00
|
|
|
- EXTRA_CXX_FLAGS="-stdlib=libc++"
|
2017-05-22 16:26:05 +00:00
|
|
|
- compiler: clang
|
2019-03-17 15:48:35 +00:00
|
|
|
dist: xenial
|
2017-05-22 16:26:05 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
clang-3.8
|
|
|
|
env:
|
2019-03-17 15:48:35 +00:00
|
|
|
- INSTALL_GCC6_FROM_PPA=1
|
2017-05-22 16:26:05 +00:00
|
|
|
- COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=Release
|
|
|
|
- LIBCXX_BUILD=1
|
2019-05-01 08:06:12 +00:00
|
|
|
- EXTRA_CXX_FLAGS="-stdlib=libc++"
|
2017-05-22 16:26:05 +00:00
|
|
|
# Clang w/ 32bit libc++
|
|
|
|
- compiler: clang
|
2019-03-17 15:48:35 +00:00
|
|
|
dist: xenial
|
2017-05-22 16:26:05 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- clang-3.8
|
|
|
|
- g++-multilib
|
2019-05-01 08:06:12 +00:00
|
|
|
- libc6:i386
|
2017-05-22 16:26:05 +00:00
|
|
|
env:
|
2019-03-17 15:48:35 +00:00
|
|
|
- INSTALL_GCC6_FROM_PPA=1
|
2017-05-22 16:26:05 +00:00
|
|
|
- COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=Debug
|
|
|
|
- LIBCXX_BUILD=1
|
|
|
|
- BUILD_32_BITS=ON
|
2019-05-01 08:06:12 +00:00
|
|
|
- EXTRA_FLAGS="-m32"
|
|
|
|
- EXTRA_CXX_FLAGS="-stdlib=libc++"
|
2017-05-22 16:26:05 +00:00
|
|
|
# Clang w/ 32bit libc++
|
|
|
|
- compiler: clang
|
2019-03-17 15:48:35 +00:00
|
|
|
dist: xenial
|
2017-05-22 16:26:05 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- clang-3.8
|
|
|
|
- g++-multilib
|
2019-05-01 08:06:12 +00:00
|
|
|
- libc6:i386
|
2017-05-22 16:26:05 +00:00
|
|
|
env:
|
2019-03-17 15:48:35 +00:00
|
|
|
- INSTALL_GCC6_FROM_PPA=1
|
2017-05-22 16:26:05 +00:00
|
|
|
- COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=Release
|
|
|
|
- LIBCXX_BUILD=1
|
|
|
|
- BUILD_32_BITS=ON
|
2019-05-01 08:06:12 +00:00
|
|
|
- EXTRA_FLAGS="-m32"
|
|
|
|
- EXTRA_CXX_FLAGS="-stdlib=libc++"
|
2017-05-22 16:26:05 +00:00
|
|
|
# Clang w/ libc++, ASAN, UBSAN
|
|
|
|
- compiler: clang
|
2019-03-17 15:48:35 +00:00
|
|
|
dist: xenial
|
2017-05-22 16:26:05 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
clang-3.8
|
|
|
|
env:
|
2019-03-17 15:48:35 +00:00
|
|
|
- INSTALL_GCC6_FROM_PPA=1
|
2017-05-22 16:26:05 +00:00
|
|
|
- COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=Debug
|
|
|
|
- LIBCXX_BUILD=1 LIBCXX_SANITIZER="Undefined;Address"
|
Add tests to verify assembler output -- Fix DoNotOptimize. (#530)
* Add tests to verify assembler output -- Fix DoNotOptimize.
For things like `DoNotOptimize`, `ClobberMemory`, and even `KeepRunning()`,
it is important exactly what assembly they generate. However, we currently
have no way to test this. Instead it must be manually validated every
time a change occurs -- including a change in compiler version.
This patch attempts to introduce a way to test the assembled output automatically.
It's mirrors how LLVM verifies compiler output, and it uses LLVM FileCheck to run
the tests in a similar way.
The tests function by generating the assembly for a test in CMake, and then
using FileCheck to verify the // CHECK lines in the source file are found
in the generated assembly.
Currently, the tests only run on 64-bit x86 systems under GCC and Clang,
and when FileCheck is found on the system.
Additionally, this patch tries to improve the code gen from DoNotOptimize.
This should probably be a separate change, but I needed something to test.
* Disable assembly tests on Bazel for now
* Link FIXME to github issue
* Fix Tests on OS X
* fix strip_asm.py to work on both Linux and OS X like targets
2018-03-23 22:10:47 +00:00
|
|
|
- ENABLE_SANITIZER=1
|
2019-05-01 08:06:12 +00:00
|
|
|
- EXTRA_FLAGS="-g -O2 -fno-omit-frame-pointer -fsanitize=undefined,address -fno-sanitize-recover=all"
|
|
|
|
- EXTRA_CXX_FLAGS="-stdlib=libc++"
|
2017-05-22 16:26:05 +00:00
|
|
|
- UBSAN_OPTIONS=print_stacktrace=1
|
|
|
|
# Clang w/ libc++ and MSAN
|
|
|
|
- compiler: clang
|
2019-03-17 15:48:35 +00:00
|
|
|
dist: xenial
|
2017-05-22 16:26:05 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
clang-3.8
|
|
|
|
env:
|
2019-03-17 15:48:35 +00:00
|
|
|
- INSTALL_GCC6_FROM_PPA=1
|
2017-05-22 16:26:05 +00:00
|
|
|
- COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=Debug
|
|
|
|
- LIBCXX_BUILD=1 LIBCXX_SANITIZER=MemoryWithOrigins
|
Add tests to verify assembler output -- Fix DoNotOptimize. (#530)
* Add tests to verify assembler output -- Fix DoNotOptimize.
For things like `DoNotOptimize`, `ClobberMemory`, and even `KeepRunning()`,
it is important exactly what assembly they generate. However, we currently
have no way to test this. Instead it must be manually validated every
time a change occurs -- including a change in compiler version.
This patch attempts to introduce a way to test the assembled output automatically.
It's mirrors how LLVM verifies compiler output, and it uses LLVM FileCheck to run
the tests in a similar way.
The tests function by generating the assembly for a test in CMake, and then
using FileCheck to verify the // CHECK lines in the source file are found
in the generated assembly.
Currently, the tests only run on 64-bit x86 systems under GCC and Clang,
and when FileCheck is found on the system.
Additionally, this patch tries to improve the code gen from DoNotOptimize.
This should probably be a separate change, but I needed something to test.
* Disable assembly tests on Bazel for now
* Link FIXME to github issue
* Fix Tests on OS X
* fix strip_asm.py to work on both Linux and OS X like targets
2018-03-23 22:10:47 +00:00
|
|
|
- ENABLE_SANITIZER=1
|
2019-05-01 08:06:12 +00:00
|
|
|
- EXTRA_FLAGS="-g -O2 -fno-omit-frame-pointer -fsanitize=memory -fsanitize-memory-track-origins"
|
|
|
|
- EXTRA_CXX_FLAGS="-stdlib=libc++"
|
2017-05-22 16:26:05 +00:00
|
|
|
# Clang w/ libc++ and MSAN
|
|
|
|
- compiler: clang
|
2019-03-17 15:48:35 +00:00
|
|
|
dist: xenial
|
2017-05-22 16:26:05 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
clang-3.8
|
|
|
|
env:
|
2019-03-17 15:48:35 +00:00
|
|
|
- INSTALL_GCC6_FROM_PPA=1
|
2017-05-22 16:26:05 +00:00
|
|
|
- COMPILER=clang++-3.8 C_COMPILER=clang-3.8 BUILD_TYPE=RelWithDebInfo
|
|
|
|
- LIBCXX_BUILD=1 LIBCXX_SANITIZER=Thread
|
Add tests to verify assembler output -- Fix DoNotOptimize. (#530)
* Add tests to verify assembler output -- Fix DoNotOptimize.
For things like `DoNotOptimize`, `ClobberMemory`, and even `KeepRunning()`,
it is important exactly what assembly they generate. However, we currently
have no way to test this. Instead it must be manually validated every
time a change occurs -- including a change in compiler version.
This patch attempts to introduce a way to test the assembled output automatically.
It's mirrors how LLVM verifies compiler output, and it uses LLVM FileCheck to run
the tests in a similar way.
The tests function by generating the assembly for a test in CMake, and then
using FileCheck to verify the // CHECK lines in the source file are found
in the generated assembly.
Currently, the tests only run on 64-bit x86 systems under GCC and Clang,
and when FileCheck is found on the system.
Additionally, this patch tries to improve the code gen from DoNotOptimize.
This should probably be a separate change, but I needed something to test.
* Disable assembly tests on Bazel for now
* Link FIXME to github issue
* Fix Tests on OS X
* fix strip_asm.py to work on both Linux and OS X like targets
2018-03-23 22:10:47 +00:00
|
|
|
- ENABLE_SANITIZER=1
|
2019-05-01 08:06:12 +00:00
|
|
|
- EXTRA_FLAGS="-g -O2 -fno-omit-frame-pointer -fsanitize=thread -fno-sanitize-recover=all"
|
|
|
|
- EXTRA_CXX_FLAGS="-stdlib=libc++"
|
2018-09-05 11:19:54 +00:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode8.3
|
|
|
|
compiler: clang
|
|
|
|
env:
|
2019-05-01 08:06:12 +00:00
|
|
|
- COMPILER=clang++
|
|
|
|
- BUILD_TYPE=Release
|
|
|
|
- BUILD_32_BITS=ON
|
|
|
|
- EXTRA_FLAGS="-m32"
|
2015-03-06 17:35:00 +00:00
|
|
|
|
2014-11-12 09:32:00 +00:00
|
|
|
before_script:
|
2017-05-22 16:26:05 +00:00
|
|
|
- if [ -n "${LIBCXX_BUILD}" ]; then
|
2022-07-20 01:51:00 +00:00
|
|
|
source .libcxx-setup.sh;
|
2017-05-22 16:26:05 +00:00
|
|
|
fi
|
Add tests to verify assembler output -- Fix DoNotOptimize. (#530)
* Add tests to verify assembler output -- Fix DoNotOptimize.
For things like `DoNotOptimize`, `ClobberMemory`, and even `KeepRunning()`,
it is important exactly what assembly they generate. However, we currently
have no way to test this. Instead it must be manually validated every
time a change occurs -- including a change in compiler version.
This patch attempts to introduce a way to test the assembled output automatically.
It's mirrors how LLVM verifies compiler output, and it uses LLVM FileCheck to run
the tests in a similar way.
The tests function by generating the assembly for a test in CMake, and then
using FileCheck to verify the // CHECK lines in the source file are found
in the generated assembly.
Currently, the tests only run on 64-bit x86 systems under GCC and Clang,
and when FileCheck is found on the system.
Additionally, this patch tries to improve the code gen from DoNotOptimize.
This should probably be a separate change, but I needed something to test.
* Disable assembly tests on Bazel for now
* Link FIXME to github issue
* Fix Tests on OS X
* fix strip_asm.py to work on both Linux and OS X like targets
2018-03-23 22:10:47 +00:00
|
|
|
- if [ -n "${ENABLE_SANITIZER}" ]; then
|
|
|
|
export EXTRA_OPTIONS="-DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF";
|
|
|
|
else
|
|
|
|
export EXTRA_OPTIONS="";
|
|
|
|
fi
|
2017-12-07 22:20:59 +00:00
|
|
|
- mkdir -p build && cd build
|
2014-11-12 09:32:00 +00:00
|
|
|
|
2018-02-13 04:28:23 +00:00
|
|
|
before_install:
|
Add tests to verify assembler output -- Fix DoNotOptimize. (#530)
* Add tests to verify assembler output -- Fix DoNotOptimize.
For things like `DoNotOptimize`, `ClobberMemory`, and even `KeepRunning()`,
it is important exactly what assembly they generate. However, we currently
have no way to test this. Instead it must be manually validated every
time a change occurs -- including a change in compiler version.
This patch attempts to introduce a way to test the assembled output automatically.
It's mirrors how LLVM verifies compiler output, and it uses LLVM FileCheck to run
the tests in a similar way.
The tests function by generating the assembly for a test in CMake, and then
using FileCheck to verify the // CHECK lines in the source file are found
in the generated assembly.
Currently, the tests only run on 64-bit x86 systems under GCC and Clang,
and when FileCheck is found on the system.
Additionally, this patch tries to improve the code gen from DoNotOptimize.
This should probably be a separate change, but I needed something to test.
* Disable assembly tests on Bazel for now
* Link FIXME to github issue
* Fix Tests on OS X
* fix strip_asm.py to work on both Linux and OS X like targets
2018-03-23 22:10:47 +00:00
|
|
|
- if [ -z "$BUILD_32_BITS" ]; then
|
|
|
|
export BUILD_32_BITS=OFF && echo disabling 32 bit build;
|
|
|
|
fi
|
2018-02-13 04:28:23 +00:00
|
|
|
- if [ -n "${INSTALL_GCC6_FROM_PPA}" ]; then
|
|
|
|
sudo add-apt-repository -y "ppa:ubuntu-toolchain-r/test";
|
|
|
|
sudo apt-get update --option Acquire::Retries=100 --option Acquire::http::Timeout="60";
|
|
|
|
fi
|
|
|
|
|
2015-05-12 15:17:38 +00:00
|
|
|
install:
|
2018-02-13 04:28:23 +00:00
|
|
|
- if [ -n "${INSTALL_GCC6_FROM_PPA}" ]; then
|
2018-05-29 12:12:48 +00:00
|
|
|
travis_wait sudo -E apt-get -yq --no-install-suggests --no-install-recommends install g++-6;
|
Add tests to verify assembler output -- Fix DoNotOptimize. (#530)
* Add tests to verify assembler output -- Fix DoNotOptimize.
For things like `DoNotOptimize`, `ClobberMemory`, and even `KeepRunning()`,
it is important exactly what assembly they generate. However, we currently
have no way to test this. Instead it must be manually validated every
time a change occurs -- including a change in compiler version.
This patch attempts to introduce a way to test the assembled output automatically.
It's mirrors how LLVM verifies compiler output, and it uses LLVM FileCheck to run
the tests in a similar way.
The tests function by generating the assembly for a test in CMake, and then
using FileCheck to verify the // CHECK lines in the source file are found
in the generated assembly.
Currently, the tests only run on 64-bit x86 systems under GCC and Clang,
and when FileCheck is found on the system.
Additionally, this patch tries to improve the code gen from DoNotOptimize.
This should probably be a separate change, but I needed something to test.
* Disable assembly tests on Bazel for now
* Link FIXME to github issue
* Fix Tests on OS X
* fix strip_asm.py to work on both Linux and OS X like targets
2018-03-23 22:10:47 +00:00
|
|
|
fi
|
|
|
|
- if [ "${TRAVIS_OS_NAME}" == "linux" -a "${BUILD_32_BITS}" == "OFF" ]; then
|
2018-05-29 12:12:48 +00:00
|
|
|
travis_wait sudo -E apt-get -y --no-install-suggests --no-install-recommends install llvm-3.9-tools;
|
Add tests to verify assembler output -- Fix DoNotOptimize. (#530)
* Add tests to verify assembler output -- Fix DoNotOptimize.
For things like `DoNotOptimize`, `ClobberMemory`, and even `KeepRunning()`,
it is important exactly what assembly they generate. However, we currently
have no way to test this. Instead it must be manually validated every
time a change occurs -- including a change in compiler version.
This patch attempts to introduce a way to test the assembled output automatically.
It's mirrors how LLVM verifies compiler output, and it uses LLVM FileCheck to run
the tests in a similar way.
The tests function by generating the assembly for a test in CMake, and then
using FileCheck to verify the // CHECK lines in the source file are found
in the generated assembly.
Currently, the tests only run on 64-bit x86 systems under GCC and Clang,
and when FileCheck is found on the system.
Additionally, this patch tries to improve the code gen from DoNotOptimize.
This should probably be a separate change, but I needed something to test.
* Disable assembly tests on Bazel for now
* Link FIXME to github issue
* Fix Tests on OS X
* fix strip_asm.py to work on both Linux and OS X like targets
2018-03-23 22:10:47 +00:00
|
|
|
sudo cp /usr/lib/llvm-3.9/bin/FileCheck /usr/local/bin/;
|
2018-02-13 04:28:23 +00:00
|
|
|
fi
|
2015-05-12 15:17:38 +00:00
|
|
|
- if [ "${BUILD_TYPE}" == "Coverage" -a "${TRAVIS_OS_NAME}" == "linux" ]; then
|
|
|
|
PATH=~/.local/bin:${PATH};
|
|
|
|
pip install --user --upgrade pip;
|
2018-05-29 12:12:48 +00:00
|
|
|
travis_wait pip install --user cpp-coveralls;
|
2015-05-12 15:17:38 +00:00
|
|
|
fi
|
2017-11-30 23:21:32 +00:00
|
|
|
- if [ "${C_COMPILER}" == "gcc-7" -a "${TRAVIS_OS_NAME}" == "osx" ]; then
|
|
|
|
rm -f /usr/local/include/c++;
|
|
|
|
brew update;
|
2018-05-29 12:12:48 +00:00
|
|
|
travis_wait brew install gcc@7;
|
2017-11-30 23:21:32 +00:00
|
|
|
fi
|
2018-03-08 12:48:46 +00:00
|
|
|
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
|
|
|
|
sudo apt-get update -qq;
|
2019-05-01 08:06:12 +00:00
|
|
|
sudo apt-get install -qq unzip cmake3;
|
2020-06-09 08:50:20 +00:00
|
|
|
wget https://github.com/bazelbuild/bazel/releases/download/3.2.0/bazel-3.2.0-installer-linux-x86_64.sh --output-document bazel-installer.sh;
|
2018-05-29 12:12:48 +00:00
|
|
|
travis_wait sudo bash bazel-installer.sh;
|
2018-03-08 12:48:46 +00:00
|
|
|
fi
|
|
|
|
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
|
2020-06-09 08:50:20 +00:00
|
|
|
curl -L -o bazel-installer.sh https://github.com/bazelbuild/bazel/releases/download/3.2.0/bazel-3.2.0-installer-darwin-x86_64.sh;
|
2018-05-29 12:12:48 +00:00
|
|
|
travis_wait sudo bash bazel-installer.sh;
|
2018-03-08 12:48:46 +00:00
|
|
|
fi
|
2015-05-12 15:17:38 +00:00
|
|
|
|
2014-11-12 09:32:00 +00:00
|
|
|
script:
|
2019-05-01 08:06:12 +00:00
|
|
|
- cmake -DCMAKE_C_COMPILER=${C_COMPILER} -DCMAKE_CXX_COMPILER=${COMPILER} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_C_FLAGS="${EXTRA_FLAGS}" -DCMAKE_CXX_FLAGS="${EXTRA_FLAGS} ${EXTRA_CXX_FLAGS}" -DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON -DBENCHMARK_BUILD_32_BITS=${BUILD_32_BITS} ${EXTRA_OPTIONS} ..
|
2017-05-22 16:26:05 +00:00
|
|
|
- make
|
|
|
|
- ctest -C ${BUILD_TYPE} --output-on-failure
|
2018-03-08 12:48:46 +00:00
|
|
|
- bazel test -c dbg --define google_benchmark.have_regex=posix --announce_rc --verbose_failures --test_output=errors --keep_going //test/...
|
2015-05-12 15:17:38 +00:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- if [ "${BUILD_TYPE}" == "Coverage" -a "${TRAVIS_OS_NAME}" == "linux" ]; then
|
|
|
|
coveralls --include src --include include --gcov-options '\-lp' --root .. --build-root .;
|
|
|
|
fi
|